]> granicus.if.org Git - sudo/commitdiff
initialize previfname
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 7 Sep 1998 16:06:23 +0000 (16:06 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 7 Sep 1998 16:06:23 +0000 (16:06 +0000)
interfaces.c

index e0fed66f94688a3671d4f2d2e50ffa05534a89df..a62735a3712b26ed675aecafd7e88d0095467840 100644 (file)
@@ -111,7 +111,7 @@ void load_interfaces()
     unsigned int localhost_mask;
     int sock, n, i;
     size_t len = sizeof(struct ifconf) + BUFSIZ;
-    char *previfname, *ifconf_buf = NULL;
+    char *previfname = "", *ifconf_buf = NULL;
 #ifdef _ISC
     struct strioctl strioctl;
 #endif /* _ISC */