From c85a5ef04cfec4d1276d02e504bc105c7dfbc814 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 27 Oct 1996 18:28:39 +0000 Subject: [PATCH] Don't give up just because we cant find the blkdev that corresponds to the name given as a chardev. --- sbin/fsck/preen.c | 5 +++-- sbin/fsck_ffs/preen.c | 5 +++-- sbin/fsck_ifs/preen.c | 5 +++-- 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 a35182e273f0..b5608617c18d 100644 --- a/sbin/fsck/preen.c +++ b/sbin/fsck/preen.c @@ -341,8 +341,9 @@ blockcheck(name) 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 a35182e273f0..b5608617c18d 100644 --- a/sbin/fsck_ffs/preen.c +++ b/sbin/fsck_ffs/preen.c @@ -341,8 +341,9 @@ blockcheck(name) 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 a35182e273f0..b5608617c18d 100644 --- a/sbin/fsck_ifs/preen.c +++ b/sbin/fsck_ifs/preen.c @@ -341,8 +341,9 @@ blockcheck(name) 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 a35182e273f0..b5608617c18d 100644 --- a/sbin/quotacheck/preen.c +++ b/sbin/quotacheck/preen.c @@ -341,8 +341,9 @@ blockcheck(name) 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 *