]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/firstboot/firstboot.c
proc-cmdline: make proc_cmdline_get_bool() take flags
[thirdparty/systemd.git] / src / firstboot / firstboot.c
index 1956ab3b1356fc2dc098b9e858637320e3dd585e..59d4dcd118f85c4eeb6bb6b2913dedce5a36e3c9 100644 (file)
@@ -1650,7 +1650,7 @@ static int run(int argc, char *argv[]) {
                  * opposed to some other file system tree/image) */
 
                 bool enabled;
-                r = proc_cmdline_get_bool("systemd.firstboot", &enabled);
+                r = proc_cmdline_get_bool("systemd.firstboot", /* flags = */ 0, &enabled);
                 if (r < 0)
                         return log_error_errno(r, "Failed to parse systemd.firstboot= kernel command line argument, ignoring: %m");
                 if (r > 0 && !enabled) {