Remove hidden "Not ufs" printfs from boot code
Remove the printf("Not ufs\n") from the boot code which was hidden by the local printf implementations, allowing these to have that code removed too. MFC after: 2 weeks X-MFC-With: r293268 Sponsored by: Multiplay
This commit is contained in:
parent
c38da7b287
commit
01cafd61f0
@ -211,7 +211,6 @@ fsread(ufs_ino_t inode, void *buf, size_t nbyte)
|
||||
break;
|
||||
}
|
||||
if (sblock_try[n] == -1) {
|
||||
printf("Not ufs\n");
|
||||
return -1;
|
||||
}
|
||||
dsk_meta++;
|
||||
|
@ -198,7 +198,6 @@ fsstat(ufs_ino_t inode)
|
||||
break;
|
||||
}
|
||||
if (sblock_try[n] == -1) {
|
||||
printf("Not ufs\n");
|
||||
return -1;
|
||||
}
|
||||
dsk_meta++;
|
||||
|
@ -564,10 +564,6 @@ printf(const char *fmt, ...)
|
||||
va_list ap;
|
||||
int ret;
|
||||
|
||||
/* Don't annoy the user as we probe for partitions */
|
||||
if (strcmp(fmt,"Not ufs\n") == 0)
|
||||
return 0;
|
||||
|
||||
va_start(ap, fmt);
|
||||
ret = vprintf(fmt, ap);
|
||||
va_end(ap);
|
||||
|
Loading…
Reference in New Issue
Block a user