NULL => 0 (Arne Juul; PR#3629)

This commit is contained in:
pk 1997-05-17 20:31:15 +00:00
parent 62972ee658
commit 80bb266e0e
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: null_vnops.c,v 1.9 1996/10/13 02:21:35 christos Exp $ */
/* $NetBSD: null_vnops.c,v 1.10 1997/05/17 20:32:53 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@ -362,7 +362,7 @@ null_getattr(v)
struct proc *a_p;
} */ *ap = v;
int error;
if ((error = null_bypass(ap)) != NULL)
if ((error = null_bypass(ap)) != 0)
return (error);
/* Requires that arguments be restored. */
ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0];

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_fat.c,v 1.24 1996/10/13 04:16:32 christos Exp $ */
/* $NetBSD: msdosfs_fat.c,v 1.25 1997/05/17 20:33:57 pk Exp $ */
/*-
* Copyright (C) 1994, 1995 Wolfgang Solfrank.
@ -628,7 +628,7 @@ chainlength(pmp, start, count)
while (++idx <= max_idx) {
if (len >= count)
break;
if ((map = pmp->pm_inusemap[idx]) != NULL) {
if ((map = pmp->pm_inusemap[idx]) != 0) {
len += ffs(map) - 1;
break;
}

View File

@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";*/
static char rcsid[] = "$NetBSD: syslogd.c,v 1.9 1997/04/26 05:12:32 mrg Exp $";
static char rcsid[] = "$NetBSD: syslogd.c,v 1.10 1997/05/17 20:31:15 pk Exp $";
#endif /* not lint */
/*
@ -930,7 +930,7 @@ init(signo)
*/
for (p = cline; isspace(*p); ++p)
continue;
if (*p == NULL || *p == '#')
if (*p == '\0' || *p == '#')
continue;
for (p = strchr(cline, '\0'); isspace(*--p);)
continue;