From owner-cvs-sbin Thu Sep 18 07:09:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA07803 for cvs-sbin-outgoing; Thu, 18 Sep 1997 07:09:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA07771; Thu, 18 Sep 1997 07:08:51 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA06190; Thu, 18 Sep 1997 07:04:58 -0700 (PDT) Date: Thu, 18 Sep 1997 07:04:58 -0700 (PDT) Message-Id: <199709181404.HAA06190@freefall.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 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 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