X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fidmapd%2Fidmapd.c;fp=utils%2Fidmapd%2Fidmapd.c;h=beba9c4517076e156ad697f6b66d362b8d444aae;hp=9d66225e01d7642aa40223bbacccc0a4a31c8292;hb=5ac9bcfd820f09af4d3f87f1f7346d896f70bc9a;hpb=96892b29a50af1055bfc3ca74930e9782ead6c71 diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index 9d66225..beba9c4 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -424,7 +424,8 @@ dirscancb(int UNUSED(fd), short UNUSED(which), void *data) pipefsdir, ents[i]->d_name); if ((ic->ic_dirfd = open(path, O_RDONLY, 0)) == -1) { - xlog_warn("dirscancb: open(%s): %s", path, strerror(errno)); + if (verbose > 0) + xlog_warn("dirscancb: open(%s): %s", path, strerror(errno)); free(ic); goto out; }