Module Name: src
Committed By: uwe
Date: Mon Aug 7 22:08:12 UTC 2017
Modified Files:
src/sbin/shutdown: shutdown.c
Log Message:
Use NULL instead of 0 for null pointer.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sbin/shutdown/shutdown.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/shutdown/shutdown.c
diff -u src/sbin/shutdown/shutdown.c:1.56 src/sbin/shutdown/shutdown.c:1.57
--- src/sbin/shutdown/shutdown.c:1.56 Fri Mar 28 18:27:14 2014
+++ src/sbin/shutdown/shutdown.c Mon Aug 7 22:08:12 2017
@@ -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, 19
#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);