mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99222
@ -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