X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Foptr.c;h=f0be80bc263c59ae0f3c779049e6226b897052ed;hb=401a4d13e4c30d46074531c6c26efefcaf3bbdaf;hp=b18643702f90af4737f3c45f2b3ba75e2b111ad2;hpb=d6967896bc4e18f9b4359a2ef5be5c0f1bcc456a;p=dump.git diff --git a/dump/optr.c b/dump/optr.c index b186437..f0be80b 100644 --- a/dump/optr.c +++ b/dump/optr.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: optr.c,v 1.18 2000/12/21 11:14:54 stelian Exp $"; + "$Id: optr.c,v 1.20 2001/02/22 10:57:40 stelian Exp $"; #endif /* not lint */ #include @@ -65,6 +65,7 @@ static const char rcsid[] = #include #include #include +#include #endif #include "dump.h" @@ -567,7 +568,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;