Commit 31461c563abc61807e8fbbacdb70d6e94f79edce

Robert Millan 2006-03-18T09:19:50

Initialize __progname as NULL

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/progname.c b/src/progname.c
index c74d675..c024d09 100644
--- a/src/progname.c
+++ b/src/progname.c
@@ -21,7 +21,7 @@
 
 #include <bsd/stdlib.h>
 
-static char *__progname;
+static char *__progname = NULL;
 
 char *
 getprogname ();