X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Foptr.c;h=9383cf6b69614f1378bc9daadb5e67859004adf0;hb=52ed7d6e29b14c6ec0d7e4427c0b4c3c20084f1a;hp=0ac0acee6db937e42fc64d112acb68d9786a4727;hpb=88f15c1b41e4c494b7903d6102678e6163ce3118;p=dump.git diff --git a/dump/optr.c b/dump/optr.c index 0ac0ace..9383cf6 100644 --- a/dump/optr.c +++ b/dump/optr.c @@ -41,9 +41,10 @@ #ifndef lint static const char rcsid[] = - "$Id: optr.c,v 1.17 2000/12/05 16:31:36 stelian Exp $"; + "$Id: optr.c,v 1.19 2001/02/21 16:13:05 stelian Exp $"; #endif /* not lint */ +#include #include #include #include @@ -566,7 +567,7 @@ static void print_wmsg(char arg, int dumpme, const char *dev, int level, const char *mtpt, time_t ddate) { - char *date; + char *date = NULL; if (ddate) { char *d;