reiserfsprogs: Fix sparse "warning: Using plain integer as NULL pointer"

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
Jeff Mahoney committed 2013-08-26 19:02:18 -04:00
1 parent dd29f49a6c
commit 20357cf349
27 files changed
+192 -188

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ time_t parse_time(char *str)
struct tm ts;
if (strcmp(str, "now") == 0) {
return (time(0));
return (time(NULL));
}
memset(&ts, 0, sizeof(ts));
#ifdef HAVE_STRPTIME