aboutsummaryrefslogtreecommitdiff
path: root/sbin/quotacheck/preen.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-10-27 18:28:39 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-10-27 18:28:39 +0000
commitc85a5ef04cfec4d1276d02e504bc105c7dfbc814 (patch)
tree3e995f9b96992479b6ab65bcf316511c260e8abc /sbin/quotacheck/preen.c
parent8c372bd8a2558e05265f48b94fe117172662dc5d (diff)
downloadsrc-c85a5ef04cfec4d1276d02e504bc105c7dfbc814.tar.gz
src-c85a5ef04cfec4d1276d02e504bc105c7dfbc814.zip
Don't give up just because we cant find the blkdev that corresponds
to the name given as a chardev.
Notes
Notes: svn path=/head/; revision=19212
Diffstat (limited to 'sbin/quotacheck/preen.c')
-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 a35182e273f0..b5608617c18d 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 *