diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck_ffs/inode.c | 6 | ||||
-rw-r--r-- | sbin/fsck_ffs/main.c | 10 | ||||
-rw-r--r-- | sbin/fsck_ffs/utilities.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index 52c428b9fe2..1be8bb0470b 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inode.c,v 1.9 1997/06/22 20:10:48 tholo Exp $ */ +/* $OpenBSD: inode.c,v 1.10 1997/06/25 18:12:13 kstailey Exp $ */ /* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)inode.c 8.5 (Berkeley) 2/8/95"; #else -static char rcsid[] = "$OpenBSD: inode.c,v 1.9 1997/06/22 20:10:48 tholo Exp $"; +static char rcsid[] = "$OpenBSD: inode.c,v 1.10 1997/06/25 18:12:13 kstailey Exp $"; #endif #endif /* not lint */ @@ -425,7 +425,7 @@ getinoinfo(inumber) return (inp); } errexit("cannot find inode %d\n", inumber); - return ((struct inoinfo *)0); + return (NULL); } /* diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index 09c26a2eca8..5e6ce1f22e0 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.7 1997/01/15 23:41:46 millert Exp $ */ +/* $OpenBSD: main.c,v 1.8 1997/06/25 18:12:16 kstailey Exp $ */ /* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.7 1997/01/15 23:41:46 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.8 1997/06/25 18:12:16 kstailey Exp $"; #endif #endif /* not lint */ @@ -288,9 +288,9 @@ checkfilesys(filesys, mntpt, auxdata, child) printf("\n"); } } - zlnhead = (struct zlncnt *)0; - duplist = (struct dups *)0; - muldup = (struct dups *)0; + zlnhead = NULL; + duplist = NULL; + muldup = NULL; inocleanup(); if (fsmodified) { (void)time(&sblock.fs_time); diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c index 36dda840ee8..92d4b69da80 100644 --- a/sbin/fsck_ffs/utilities.c +++ b/sbin/fsck_ffs/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.3 1996/10/20 08:36:42 tholo Exp $ */ +/* $OpenBSD: utilities.c,v 1.4 1997/06/25 18:12:17 kstailey Exp $ */ /* $NetBSD: utilities.c,v 1.18 1996/09/27 22:45:20 christos Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)utilities.c 8.1 (Berkeley) 6/5/93"; #else -static char rcsid[] = "$OpenBSD: utilities.c,v 1.3 1996/10/20 08:36:42 tholo Exp $"; +static char rcsid[] = "$OpenBSD: utilities.c,v 1.4 1997/06/25 18:12:17 kstailey Exp $"; #endif #endif /* not lint */ @@ -126,7 +126,7 @@ bufinit() long bufcnt, i; char *bufp; - pbp = pdirbp = (struct bufarea *)0; + pbp = pdirbp = NULL; bufp = malloc((unsigned int)sblock.fs_bsize); if (bufp == 0) errexit("cannot allocate buffer pool\n"); @@ -272,7 +272,7 @@ ckfini(markclean) } if (bufhead.b_size != cnt) errexit("Panic: lost %d buffers\n", bufhead.b_size - cnt); - pbp = pdirbp = (struct bufarea *)0; + pbp = pdirbp = NULL; if (markclean && (sblock.fs_clean & FS_ISCLEAN) == 0) { /* * Mark the file system as clean, and sync the superblock. |