]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fork-journal: drop unneeded cast 37423/head
authorMike Yuan <me@yhndnzj.com>
Tue, 13 May 2025 21:07:17 +0000 (23:07 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 13 May 2025 21:11:34 +0000 (23:11 +0200)
src/shared/fork-journal.c

index 8972476e7c9dc2585651078cdeaf81169fe9d65d..883d9b5195dc098c8ccd4e5c72cee8dc56b94cf5 100644 (file)
@@ -162,7 +162,7 @@ int journal_fork(RuntimeScope scope, char * const *units, PidRef *ret_pidref) {
                         _exit(EXIT_MEMORY);
                 }
 
-                r = invoke_callout_binary(argv[0], (char**) argv);
+                r = invoke_callout_binary(argv[0], argv);
                 log_debug_errno(r, "Failed to invoke journalctl: %m");
                 _exit(EXIT_EXEC);
         }