From: Theodore Ts'o Date: Thu, 9 Jan 2014 19:30:43 +0000 (-0500) Subject: debugfs: fix typo in commit 5a1d25a7b X-Git-Tag: v1.42.10~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40ca5c4768eb695b74d89dfbfcf4eb538080824d;p=thirdparty%2Fe2fsprogs.git debugfs: fix typo in commit 5a1d25a7b The typo causes a compiler warning, but it's otherwise harmless. Signed-off-by: "Theodore Ts'o" --- diff --git a/debugfs/util.c b/debugfs/util.c index cf46cc311..9ddfe0ba0 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,