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
update for 4.3BSD version
[unix-history]
/
usr
/
src
/
sbin
/
fsck
/
pass2.c
diff --git
a/usr/src/sbin/fsck/pass2.c
b/usr/src/sbin/fsck/pass2.c
index
60c7eae
..
cab8b72
100644
(file)
--- a/
usr/src/sbin/fsck/pass2.c
+++ b/
usr/src/sbin/fsck/pass2.c
@@
-1,6
+1,12
@@
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
#ifndef lint
#ifndef lint
-static char
version[] = "@(#)pass2.c 3.6
(Berkeley) %G%";
-#endif
+static char
sccsid[] = "@(#)pass2.c 5.2
(Berkeley) %G%";
+#endif
not lint
#include <sys/param.h>
#include <sys/inode.h>
#include <sys/param.h>
#include <sys/inode.h>
@@
-245,6
+251,10
@@
again:
errexit("BAD RETURN STATE %d FROM DESCEND",
statemap[dirp->d_ino]);
break;
errexit("BAD RETURN STATE %d FROM DESCEND",
statemap[dirp->d_ino]);
break;
+
+ default:
+ errexit("BAD STATE %d FOR INODE I=%d",
+ statemap[dirp->d_ino], dirp->d_ino);
}
}
pathp = curpathloc;
}
}
pathp = curpathloc;