Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sbin/ifconfig Pull up revision 1.94 (requested by itojun):
details: https://anonhg.NetBSD.org/src/rev/1aa0fa799975
branches: netbsd-1-5
changeset: 490545:1aa0fa799975
user: jhawk <jhawk%NetBSD.org@localhost>
date: Fri Jan 26 01:37:09 2001 +0000
description:
Pull up revision 1.94 (requested by itojun):
Initialize an uninitialized pointer. PR11702.
diffstat:
sbin/ifconfig/ifconfig.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d88db7382684 -r 1aa0fa799975 sbin/ifconfig/ifconfig.c
--- a/sbin/ifconfig/ifconfig.c Fri Jan 26 01:18:25 2001 +0000
+++ b/sbin/ifconfig/ifconfig.c Fri Jan 26 01:37:09 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifconfig.c,v 1.79.4.5 2000/12/31 20:13:54 jhawk Exp $ */
+/* $NetBSD: ifconfig.c,v 1.79.4.6 2001/01/26 01:37:09 jhawk Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
#if 0
static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-__RCSID("$NetBSD: ifconfig.c,v 1.79.4.5 2000/12/31 20:13:54 jhawk Exp $");
+__RCSID("$NetBSD: ifconfig.c,v 1.79.4.6 2001/01/26 01:37:09 jhawk Exp $");
#endif
#endif /* not lint */
@@ -691,7 +691,7 @@
#ifdef HAVE_IFADDRS_H
struct ifaddrs *ifap, *ifa;
struct ifreq ifr;
- const struct sockaddr_dl *sdl;
+ const struct sockaddr_dl *sdl = NULL;
int idx;
char *p;
Home |
Main Index |
Thread Index |
Old Index