Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
config: update config.{guess,sub}
[tools/e2fsprogs.git]
/
e2fsck
/
e2fsck.c
diff --git
a/e2fsck/e2fsck.c
b/e2fsck/e2fsck.c
index
3770bfc
..
929bd78
100644
(file)
--- a/
e2fsck/e2fsck.c
+++ b/
e2fsck/e2fsck.c
@@
-37,7
+37,7
@@
errcode_t e2fsck_allocate_context(e2fsck_t *ret)
time_env = getenv("E2FSCK_TIME");
if (time_env)
- context->now =
strtou
l(time_env, NULL, 0);
+ context->now =
(time_t) strtoul
l(time_env, NULL, 0);
else {
context->now = time(0);
if (context->now < 1262322000) /* January 1 2010 */