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
make ANSI C compatible
[unix-history]
/
usr
/
src
/
sbin
/
fsck
/
inode.c
diff --git
a/usr/src/sbin/fsck/inode.c
b/usr/src/sbin/fsck/inode.c
index
f8ea149
..
e09195e
100644
(file)
--- a/
usr/src/sbin/fsck/inode.c
+++ b/
usr/src/sbin/fsck/inode.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)inode.c 5.
3
(Berkeley) %G%";
+static char sccsid[] = "@(#)inode.c 5.
5
(Berkeley) %G%";
#endif not lint
#include <pwd.h>
#endif not lint
#include <pwd.h>
@@
-69,7
+69,7
@@
iblock(idesc, ilevel, isize)
int i, n, (*func)(), nif, sizepb;
BUFAREA ib;
char buf[BUFSIZ];
int i, n, (*func)(), nif, sizepb;
BUFAREA ib;
char buf[BUFSIZ];
- extern int pass1check();
+ extern int
dirscan(),
pass1check();
if (idesc->id_type == ADDR) {
func = idesc->id_func;
if (idesc->id_type == ADDR) {
func = idesc->id_func;
@@
-92,7
+92,7
@@
iblock(idesc, ilevel, isize)
for (ap = &ib.b_un.b_indir[nif]; ap < aplim; ap++) {
if (*ap == 0)
continue;
for (ap = &ib.b_un.b_indir[nif]; ap < aplim; ap++) {
if (*ap == 0)
continue;
- sprintf(buf, "PARTIALLY TRUNCATED INODE I=%d",
+
(void)
sprintf(buf, "PARTIALLY TRUNCATED INODE I=%d",
idesc->id_number);
if (dofix(idesc, buf)) {
*ap = 0;
idesc->id_number);
if (dofix(idesc, buf)) {
*ap = 0;