From feec5ded249f998d509292a65bb50c52f8abd12b Mon Sep 17 00:00:00 2001 From: uwe Date: Mon, 7 Aug 2017 22:08:12 +0000 Subject: [PATCH] Use NULL instead of 0 for null pointer. --- sbin/shutdown/shutdown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c index 18dc996f6297..e4b1c9c19ecf 100644 --- a/sbin/shutdown/shutdown.c +++ b/sbin/shutdown/shutdown.c @@ -1,4 +1,4 @@ -/* $NetBSD: shutdown.c,v 1.56 2014/03/28 18:27:14 apb Exp $ */ +/* $NetBSD: shutdown.c,v 1.57 2017/08/07 22:08:12 uwe Exp $ */ /* * Copyright (c) 1988, 1990, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1990, 1993\ #if 0 static char sccsid[] = "@(#)shutdown.c 8.4 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: shutdown.c,v 1.56 2014/03/28 18:27:14 apb Exp $"); +__RCSID("$NetBSD: shutdown.c,v 1.57 2017/08/07 22:08:12 uwe Exp $"); #endif #endif /* not lint */ @@ -409,7 +409,7 @@ die_you_gravy_sucking_pig_dog(void) *arg++ = "-l"; if (bootstr) *arg++ = bootstr; - *arg++ = 0; + *arg++ = NULL; #ifndef DEBUG (void)unlink(_PATH_NOLOGIN); (void)execve(path, __UNCONST(args), NULL);