]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/gpt-auto-generator/gpt-auto-generator.c
tree-wide: add PRI_[NU]SEC, and use time format strings more
[thirdparty/systemd.git] / src / gpt-auto-generator / gpt-auto-generator.c
index e64d5bb2315266662053e7315dd48e3efee48791..52cde493e5e0c4eb4c6bc5e9828b91a86dbe8e9c 100644 (file)
@@ -429,10 +429,10 @@ static int add_automount(
                 "Documentation=man:systemd-gpt-auto-generator(8)\n"
                 "[Automount]\n"
                 "Where=%s\n"
-                "TimeoutIdleSec=%lld\n",
+                "TimeoutIdleSec="USEC_FMT"\n",
                 description,
                 where,
-                (unsigned long long)timeout / USEC_PER_SEC);
+                timeout / USEC_PER_SEC);
 
         r = fflush_and_check(f);
         if (r < 0)