aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/tune2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/tune2fs.c')
-rw-r--r--e2fsprogs/tune2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index c8dfc6927..a2ca1ba09 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -380,7 +380,7 @@ static time_t parse_time(char *str)
380 struct tm ts; 380 struct tm ts;
381 381
382 if (strcmp(str, "now") == 0) { 382 if (strcmp(str, "now") == 0) {
383 return (time(0)); 383 return time(0);
384 } 384 }
385 memset(&ts, 0, sizeof(ts)); 385 memset(&ts, 0, sizeof(ts));
386#ifdef HAVE_STRPTIME 386#ifdef HAVE_STRPTIME
@@ -398,7 +398,7 @@ static time_t parse_time(char *str)
398 if (ts.tm_mday == 0) { 398 if (ts.tm_mday == 0) {
399 bb_error_msg_and_die("Cannot parse date/time specifier: %s", str); 399 bb_error_msg_and_die("Cannot parse date/time specifier: %s", str);
400 } 400 }
401 return (mktime(&ts)); 401 return mktime(&ts);
402} 402}
403 403
404static void parse_tune2fs_options(int argc, char **argv) 404static void parse_tune2fs_options(int argc, char **argv)