Date: Thu, 18 Sep 1997 07:04:58 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/dset dset.c src/sbin/i386/ft ft.c src/sbin/restore dirs.c restore.c Message-ID: <199709181404.HAA06190@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1997/09/18 07:04:58 PDT
Modified files:
sbin/dset dset.c
sbin/i386/ft ft.c
sbin/restore dirs.c restore.c
Log:
Many places in the code NULL is used in integer context, where
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
Revision Changes Path
1.11 +1 -1 src/sbin/dset/dset.c
1.4 +1 -1 src/sbin/i386/ft/ft.c
1.10 +2 -2 src/sbin/restore/dirs.c
1.5 +1 -1 src/sbin/restore/restore.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709181404.HAA06190>
