In getino, have our DEBUG message in the unhandled case mention that it
does not know what sort of UFS filesystem this is. Add some DEBUG(NULL)'s to function entry points.
This commit is contained in:
parent
f201bc9c84
commit
585e540203
@ -90,6 +90,6 @@ gotit: switch (disk->d_ufs) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
DEBUG(NULL);
|
||||
DEBUG("unknown UFS filesystem");
|
||||
return -1;
|
||||
}
|
||||
|
@ -96,6 +96,8 @@ sbwrite(struct uufsd *disk, int all)
|
||||
struct fs *fs;
|
||||
int i, rofd;
|
||||
|
||||
DEBUG(NULL);
|
||||
|
||||
fs = &disk->d_fs;
|
||||
|
||||
rofd = disk->d_fd;
|
||||
|
@ -94,6 +94,8 @@ ufs_disk_fillout(struct uufsd *disk, const char *name)
|
||||
{
|
||||
int fd;
|
||||
|
||||
DEBUG(NULL);
|
||||
|
||||
fd = open(name, O_RDONLY);
|
||||
if (fd == -1) {
|
||||
DEBUG("open");
|
||||
|
Loading…
Reference in New Issue
Block a user