diff options
author | Daniel Mack <github@zonque.org> | 2016-01-06 13:53:29 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-01-06 13:53:29 +0100 |
commit | e7c1446ee14bd0ca114086ee9505273717c501b1 (patch) | |
tree | ae189c7881689cdf39cd83eb46e3de6b69b0eedf /src | |
parent | e433ebd2ffd8dca086061ebc79704276aa2f7363 (diff) | |
parent | 10c71477e934bcf0d83ea2ea5fa560d017f00243 (diff) |
Merge pull request #2137 from fbuihuu/fstab-gen-fix-device-timeout
Fstab gen fix device timeout
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/generator.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c index 37de3f7cb1..76808cbdd5 100644 --- a/src/shared/generator.c +++ b/src/shared/generator.c @@ -190,7 +190,6 @@ int generator_write_timeouts( return write_drop_in_format(dir, unit, 50, "device-timeout", "# Automatically generated by %s\n\n" - "[Unit]\nJobTimeoutSec=" USEC_FMT, - program_invocation_short_name, - u / USEC_PER_SEC); + "[Unit]\nJobTimeoutSec=%s", + program_invocation_short_name, timeout); } |