]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/run_part.c: Fix error message
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 23 Dec 2025 11:04:23 +0000 (12:04 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Wed, 24 Dec 2025 13:57:37 +0000 (14:57 +0100)
The failing function call was wait, not waitpid.

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/run_part.c

index fb32825b908adfd9aff7129e3c2eec01d2b41db0..f3ac46dbf88190b45e09ea24088c4f0941a0bcfa 100644 (file)
@@ -42,7 +42,7 @@ static int run_part(char *script_path, const char *name, const char *action)
                return (wait_status);
        }
 
-       fprintf(shadow_logfd, "waitpid: %s\n", strerrno());
+       fprintf(shadow_logfd, "wait: %s\n", strerrno());
        return (1);
 }