Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/vinum Don't initialize an int to NULL.
details: https://anonhg.NetBSD.org/src/rev/65bd1b302459
branches: trunk
changeset: 553762:65bd1b302459
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Oct 21 02:33:34 2003 +0000
description:
Don't initialize an int to NULL.
diffstat:
sbin/vinum/commands.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 0e330ec9b5a3 -r 65bd1b302459 sbin/vinum/commands.c
--- a/sbin/vinum/commands.c Tue Oct 21 02:32:54 2003 +0000
+++ b/sbin/vinum/commands.c Tue Oct 21 02:33:34 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: commands.c,v 1.2 2003/10/11 09:55:58 jdolecek Exp $ */
+/* $NetBSD: commands.c,v 1.3 2003/10/21 02:33:34 fvdl Exp $ */
/* commands.c: vinum interface program, main commands */
/*-
@@ -38,13 +38,13 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: commands.c,v 1.2 2003/10/11 09:55:58 jdolecek Exp $
+ * $Id: commands.c,v 1.3 2003/10/21 02:33:34 fvdl Exp $
* $FreeBSD$
*/
#include "vext.h"
-__RCSID("$NetBSD: commands.c,v 1.2 2003/10/11 09:55:58 jdolecek Exp $");
+__RCSID("$NetBSD: commands.c,v 1.3 2003/10/21 02:33:34 fvdl Exp $");
static void dorename(struct vinum_rename_msg *msg, const char *oldname, const char *name, int maxlen);
@@ -335,7 +335,7 @@
initplex(int plexno, char *name)
{
int sdno;
- int plexfh = NULL; /* file handle for plex */
+ int plexfh = 0; /* file handle for plex */
pid_t pid;
char filename[MAXPATHLEN]; /* create a file name here */
Home |
Main Index |
Thread Index |
Old Index