if printing the value of fs_clean, say 'fs_clean' instead of 'fs_flags' ...
This commit is contained in:
parent
fcf7f6cd06
commit
714cac851d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ffs_vfsops.c,v 1.81 2001/05/30 11:57:18 mrg Exp $ */
|
||||
/* $NetBSD: ffs_vfsops.c,v 1.82 2001/07/26 07:58:55 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993, 1994
|
||||
|
@ -366,7 +366,7 @@ ffs_mount(mp, path, data, ndp, p)
|
|||
if (fs->fs_clean & FS_WASCLEAN)
|
||||
fs->fs_time = time.tv_sec;
|
||||
else
|
||||
printf("%s: file system not clean (fs_flags=%x); please fsck(8)\n",
|
||||
printf("%s: file system not clean (fs_clean=%x); please fsck(8)\n",
|
||||
mp->mnt_stat.f_mntfromname, fs->fs_clean);
|
||||
(void) ffs_cgupdate(ump, MNT_WAIT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue