chiark / gitweb /
cryptsetup-generator: allow specifying options in /proc/cmdline
[elogind.git] / src / shared / logs-show.c
index f0236eeae52244681daf70bf77a9ed034ba96c28..87633e78163652e50c1d7d29f10b6c29808339bd 100644 (file)
@@ -536,7 +536,7 @@ static int output_export(
                 /* We already printed the boot id, from the data in
                  * the header, hence let's suppress it here */
                 if (length >= 9 &&
-                    hasprefix(data, "_BOOT_ID="))
+                    startswith(data, "_BOOT_ID="))
                         continue;
 
                 if (!utf8_is_printable(data, length)) {