reiserfsprogs: Fix sparse "warning: Using plain integer as NULL pointer"
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
dd29f49a6c
commit
20357cf349
27 files changed
+192
-188
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user