Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/shutdown Use NULL instead of 0 for null pointer.
details: https://anonhg.NetBSD.org/src/rev/89c40a9c4c6b
branches: trunk
changeset: 355639:89c40a9c4c6b
user: uwe <uwe%NetBSD.org@localhost>
date: Mon Aug 07 22:08:12 2017 +0000
description:
Use NULL instead of 0 for null pointer.
diffstat:
sbin/shutdown/shutdown.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7118a09c42fa -r 89c40a9c4c6b sbin/shutdown/shutdown.c
--- a/sbin/shutdown/shutdown.c Mon Aug 07 21:50:34 2017 +0000
+++ b/sbin/shutdown/shutdown.c Mon Aug 07 22:08:12 2017 +0000
@@ -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 @@
#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 @@
*arg++ = "-l";
if (bootstr)
*arg++ = bootstr;
- *arg++ = 0;
+ *arg++ = NULL;
#ifndef DEBUG
(void)unlink(_PATH_NOLOGIN);
(void)execve(path, __UNCONST(args), NULL);
Home |
Main Index |
Thread Index |
Old Index