projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new include file locations engendered by vnodes
[unix-history]
/
usr
/
src
/
sbin
/
fsck
/
main.c
diff --git
a/usr/src/sbin/fsck/main.c
b/usr/src/sbin/fsck/main.c
index
06d9cf6
..
f62d766
100644
(file)
--- a/
usr/src/sbin/fsck/main.c
+++ b/
usr/src/sbin/fsck/main.c
@@
-11,12
+11,14
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.1
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.1
2
(Berkeley) %G%";
#endif not lint
#include <sys/param.h>
#endif not lint
#include <sys/param.h>
-#include <sys/inode.h>
-#include <sys/fs.h>
+#include <sys/time.h>
+#include <sys/vnode.h>
+#include <ufs/inode.h>
+#include <ufs/fs.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fstab.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fstab.h>
@@
-127,7
+129,7
@@
main(argc, argv)
sumstatus = 0;
for (passno = 1; passno <= 2; passno++) {
if (setfsent() == 0)
sumstatus = 0;
for (passno = 1; passno <= 2; passno++) {
if (setfsent() == 0)
- errexit("Can't open checklist file: %s\n", FSTAB);
+ errexit("Can't open checklist file: %s\n",
_PATH_
FSTAB);
while ((fsp = getfsent()) != 0) {
if (strcmp(fsp->fs_type, FSTAB_RW) &&
strcmp(fsp->fs_type, FSTAB_RO) &&
while ((fsp = getfsent()) != 0) {
if (strcmp(fsp->fs_type, FSTAB_RW) &&
strcmp(fsp->fs_type, FSTAB_RO) &&