chiark / gitweb /
bootchart: use 'n/a' if PRETTY_NAME is not found
[elogind.git] / src / bootchart / bootchart.c
index 366a5ab5d0225b5d34ae68cfaba96cf9433974ab..813e38deeb0afc34f1827aa8a2092692bf8c34b0 100644 (file)
@@ -471,7 +471,7 @@ int main(int argc, char *argv[]) {
                 exit (EXIT_FAILURE);
         }
 
-        svg_do(build);
+        svg_do(strna(build));
 
         fprintf(stderr, "systemd-bootchart wrote %s\n", output_file);