[systemd-commits] src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Jul 7 13:50:09 PDT 2014
src/shared/generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit de48d5ab62e452b596d6f2762422d0ab32c4d313
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jul 7 22:49:59 2014 +0200
shared: fix format string for usec_t type
diff --git a/src/shared/generator.c b/src/shared/generator.c
index 5d4cb5d..414470b 100644
--- a/src/shared/generator.c
+++ b/src/shared/generator.c
@@ -148,7 +148,7 @@ int generator_write_timeouts(const char *dir, const char *what, const char *wher
return write_drop_in_format(dir, unit, 50, "device-timeout",
"# Automatically generated by %s\n\n"
- "[Unit]\nJobTimeoutSec=%lu",
+ "[Unit]\nJobTimeoutSec=" USEC_FMT,
program_invocation_short_name,
u / USEC_PER_SEC);
}
More information about the systemd-commits
mailing list