diff options
| author | Greg Banks <gnb@melbourne.sgi.com> | 2006-06-22 17:31:24 +1000 |
|---|---|---|
| committer | Greg Banks <gnb@melbourne.sgi.com> | 2006-06-22 17:31:24 +1000 |
| commit | a07343ee0da4f0974a23b673ae1b0d482c7426a1 (patch) | |
| tree | 712b83ee9c03d38d90b77cae6023f124984668aa /utils/idmapd | |
| parent | dcfcb677b39443b6392db3234fd50498bc158507 (diff) | |
| download | nfs-utils-a07343ee0da4f0974a23b673ae1b0d482c7426a1.tar.gz nfs-utils-a07343ee0da4f0974a23b673ae1b0d482c7426a1.tar.xz nfs-utils-a07343ee0da4f0974a23b673ae1b0d482c7426a1.zip | |
Detect presence of nfs4_set_debug() in libnfsidmap and
don't bother calling it if it's missing.
Diffstat (limited to 'utils/idmapd')
| -rw-r--r-- | utils/idmapd/idmapd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index 158feaf..c8ce6b2 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -345,7 +345,9 @@ main(int argc, char **argv) errx(1, "Could not find group \"%s\"", nobodygroup); nobodygid = gr->gr_gid; +#ifdef HAVE_NFS4_SET_DEBUG nfs4_set_debug(verbose, idmapd_warnx); +#endif if (conf_path == NULL) conf_path = _PATH_IDMAPDCONF; if (nfs4_init_name_mapping(conf_path)) |
