summaryrefslogtreecommitdiffstats
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-10-27 18:28:39 +0000
committerphk <phk@FreeBSD.org>1996-10-27 18:28:39 +0000
commit14dde53c5585fb5bc7fc8d2b646502d9d474c306 (patch)
tree3e995f9b96992479b6ab65bcf316511c260e8abc /sbin/quotacheck
parent86907d3e57b7292b7628f44459a0b521163899f5 (diff)
downloadFreeBSD-src-14dde53c5585fb5bc7fc8d2b646502d9d474c306.zip
FreeBSD-src-14dde53c5585fb5bc7fc8d2b646502d9d474c306.tar.gz
Don't give up just because we cant find the blkdev that corresponds
to the name given as a chardev.
Diffstat (limited to 'sbin/quotacheck')
-rw-r--r--sbin/quotacheck/preen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/quotacheck/preen.c b/sbin/quotacheck/preen.c
index a35182e..b560861 100644
--- a/sbin/quotacheck/preen.c
+++ b/sbin/quotacheck/preen.c
@@ -341,8 +341,9 @@ retry:
retried++;
goto retry;
}
- printf("Can't make sense out of name %s\n", name);
- return (0);
+ printf("Warning: Can't find blockdevice corresponding to name %s\n",
+ name);
+ return (name);
}
char *
OpenPOWER on IntegriCloud