summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-01-06 13:53:29 +0100
committerDaniel Mack <github@zonque.org>2016-01-06 13:53:29 +0100
commite7c1446ee14bd0ca114086ee9505273717c501b1 (patch)
treeae189c7881689cdf39cd83eb46e3de6b69b0eedf /src/shared
parente433ebd2ffd8dca086061ebc79704276aa2f7363 (diff)
parent10c71477e934bcf0d83ea2ea5fa560d017f00243 (diff)
Merge pull request #2137 from fbuihuu/fstab-gen-fix-device-timeout
Fstab gen fix device timeout
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/generator.c5
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);
}