diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-07-07 21:40:00 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-07-07 22:20:56 +0200 |
commit | f5a4b0d3534bb13ef734a857647ab04be236c6f3 (patch) | |
tree | dbcad9335342acb363f418ee7ac6384f7fdaa127 /src/shared/generator.c | |
parent | 36a259d22c450fbf3f696df0161db50275a98667 (diff) |
dropin: add format attribute and fix a wrong caller
Diffstat (limited to 'src/shared/generator.c')
-rw-r--r-- | src/shared/generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c index 2f9e5954c2..5d4cb5d54f 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=%u", + "[Unit]\nJobTimeoutSec=%lu", program_invocation_short_name, u / USEC_PER_SEC); } |