summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-07 22:49:59 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-07 22:49:59 +0200
commitde48d5ab62e452b596d6f2762422d0ab32c4d313 (patch)
tree1d30b97e8e33caaaaf059f64e9890772778d3348 /src/shared
parent9869e75929acd9377aa460074334d8523cf8e822 (diff)
shared: fix format string for usec_t type
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c
index 5d4cb5d54f..414470be1c 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);
}