lib/run_part.c: Fix error message

The failing function call was wait, not waitpid.

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
Tobias Stoeckmann 2025-12-23 12:04:23 +01:00 committed by Alejandro Colomar
parent cf90975d11
commit f6d9e5c019

View 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);
}