summaryrefslogtreecommitdiff
path: root/debugfs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-01-09 14:30:43 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-01-09 14:30:43 -0500
commit40ca5c4768eb695b74d89dfbfcf4eb538080824d (patch)
tree77c6edc3aa7cdd27a68cd0ce057ec9bf34fc13f2 /debugfs
parent5a1d25a7b2a718cdd4553d853584098e128c5b91 (diff)
downloade2fsprogs-40ca5c4768eb695b74d89dfbfcf4eb538080824d.tar.gz
debugfs: fix typo in commit 5a1d25a7b
The typo causes a compiler warning, but it's otherwise harmless. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debugfs')
-rw-r--r--debugfs/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debugfs/util.c b/debugfs/util.c
index cf46cc31..9ddfe0ba 100644
--- a/debugfs/util.c
+++ b/debugfs/util.c
@@ -231,8 +231,8 @@ time_t string_to_time(const char *arg)
}
memset(&ts, 0, sizeof(ts));
#ifdef HAVE_STRPTIME
- ret = strptime(arg, "%Y%m%d%H%M%S", &ts);
- if (ret == NULL)
+ tmp = strptime(arg, "%Y%m%d%H%M%S", &ts);
+ if (tmp == NULL)
goto fallback;
#else
sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon,