diff options
author | phk <phk@FreeBSD.org> | 1996-10-27 18:28:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-10-27 18:28:39 +0000 |
commit | 14dde53c5585fb5bc7fc8d2b646502d9d474c306 (patch) | |
tree | 3e995f9b96992479b6ab65bcf316511c260e8abc /sbin | |
parent | 86907d3e57b7292b7628f44459a0b521163899f5 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sbin/fsck/preen.c | 5 | ||||
-rw-r--r-- | sbin/fsck_ffs/preen.c | 5 | ||||
-rw-r--r-- | sbin/fsck_ifs/preen.c | 5 | ||||
-rw-r--r-- | sbin/quotacheck/preen.c | 5 |
4 files changed, 12 insertions, 8 deletions
diff --git a/sbin/fsck/preen.c b/sbin/fsck/preen.c index a35182e..b560861 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/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 * diff --git a/sbin/fsck_ffs/preen.c b/sbin/fsck_ffs/preen.c index a35182e..b560861 100644 --- a/sbin/fsck_ffs/preen.c +++ b/sbin/fsck_ffs/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 * diff --git a/sbin/fsck_ifs/preen.c b/sbin/fsck_ifs/preen.c index a35182e..b560861 100644 --- a/sbin/fsck_ifs/preen.c +++ b/sbin/fsck_ifs/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 * 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 * |