update for 4.3BSD version
[unix-history] / usr / src / sbin / fsck / pass2.c
index 60c7eae..cab8b72 100644 (file)
@@ -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;