Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1d25a
)
debugfs: fix typo in commit 5a1d25a7b
author
Theodore Ts'o
<tytso@mit.edu>
Thu, 9 Jan 2014 19:30:43 +0000
(14:30 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 9 Jan 2014 19:30:43 +0000
(14:30 -0500)
The typo causes a compiler warning, but it's otherwise harmless.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/util.c
patch
|
blob
|
history
diff --git
a/debugfs/util.c
b/debugfs/util.c
index
cf46cc3
..
9ddfe0b
100644
(file)
--- 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,