summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-09-08 20:08:18 +0000
committeralfred <alfred@FreeBSD.org>2004-09-08 20:08:18 +0000
commit19d2139e029736d71e139fbed994252623895bff (patch)
tree319ea951ad86aaefa46751b7d630bd6d10ed707b /lib
parent52322e338fed741f0a19560c7aa3e2186a6b7b0e (diff)
downloadFreeBSD-src-19d2139e029736d71e139fbed994252623895bff.zip
FreeBSD-src-19d2139e029736d71e139fbed994252623895bff.tar.gz
Remove debug output.
Diffstat (limited to 'lib')
-rw-r--r--lib/libautofs/libautofs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libautofs/libautofs.c b/lib/libautofs/libautofs.c
index 88bad16..a47535a 100644
--- a/lib/libautofs/libautofs.c
+++ b/lib/libautofs/libautofs.c
@@ -80,7 +80,7 @@ getmntlst(struct statfs **sfsp, int *cntp)
*sfsp = NULL;
cnt = getfsstat(NULL, 0, MNT_NOWAIT);
bufsize = cnt * sizeof(**sfsp);
- fprintf(stderr, "getmntlst bufsize %ld, cnt %d\n", bufsize, cnt);
+ /*fprintf(stderr, "getmntlst bufsize %ld, cnt %d\n", bufsize, cnt);*/
*sfsp = malloc(bufsize);
if (sfsp == NULL)
goto err;
@@ -88,12 +88,12 @@ getmntlst(struct statfs **sfsp, int *cntp)
if (cnt == -1)
goto err;
*cntp = cnt;
- fprintf(stderr, "getmntlst ok, cnt %d\n", cnt);
+ /*fprintf(stderr, "getmntlst ok, cnt %d\n", cnt);*/
return (0);
err:
safe_free(sfsp);
*sfsp = NULL;
- fprintf(stderr, "getmntlst bad\n");
+ /*fprintf(stderr, "getmntlst bad\n");*/
return (-1);
}
@@ -117,7 +117,7 @@ autoh_get(const char *path, autoh_t *ahp)
break;
}
if (i == cnt) {
- fprintf(stderr, "autoh_get bad %d %d\n", i, cnt);
+ /*fprintf(stderr, "autoh_get bad %d %d\n", i, cnt);*/
errno = ENOENT;
goto err;
}
OpenPOWER on IntegriCloud