chiark / gitweb /
missing.h: add fake __NR_memfd_create for MIPS
[elogind.git] / src / journal / journald-server.c
index 4ea9d43c0dc1ce60369323d3cb1aa245d979453f..01da38b8d814473ab0fc24f5c61e26e7a21765fd 100644 (file)
@@ -1282,7 +1282,7 @@ static int setup_signals(Server *s) {
 
 static int server_parse_proc_cmdline(Server *s) {
         _cleanup_free_ char *line = NULL;
-        char *w, *state;
+        const char *w, *state;
         size_t l;
         int r;
 
@@ -1326,6 +1326,7 @@ static int server_parse_proc_cmdline(Server *s) {
                 } else if (startswith(word, "systemd.journald"))
                         log_warning("Invalid systemd.journald parameter. Ignoring.");
         }
+        /* do not warn about state here, since probably systemd already did */
 
         return 0;
 }