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:
Juli Mallett 2002-07-01 18:19:20 +00:00
parent f201bc9c84
commit 585e540203
3 changed files with 5 additions and 1 deletions

View File

@ -90,6 +90,6 @@ gotit: switch (disk->d_ufs) {
default:
break;
}
DEBUG(NULL);
DEBUG("unknown UFS filesystem");
return -1;
}

View File

@ -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;

View File

@ -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");