]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/run_part: Use correct data types
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 13 Sep 2024 19:49:08 +0000 (21:49 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Wed, 18 Sep 2024 12:52:05 +0000 (14:52 +0200)
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/run_part.c

index 2514e15f3c1b102fb411fce9a85396732952e757..5ef05d980a3035c78d052822a993ecc6fd1ada19 100644 (file)
@@ -17,9 +17,9 @@
 
 int run_part (char *script_path, const char *name, const char *action)
 {
-       int pid;
+       pid_t pid;
        int wait_status;
-       int pid_status;
+       pid_t pid_status;
        char *args[] = { script_path, NULL };
 
        pid=fork();