X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Fkmod.c;h=c6a4f8aebeba5c8a74a6bfc063e4ad08c3f14792;hb=62f0f61e6673e67151a7c8c0f9a09c7ea43fe2b5;hp=beedbdc646087783cc25fb3d68dcf9226cec4689;hpb=efffbeee5bc4168059683714b300d307f5193d69;p=~andy%2Flinux diff --git a/kernel/kmod.c b/kernel/kmod.c index beedbdc6460..c6a4f8aebeb 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -351,11 +351,11 @@ static inline void register_pm_notifier_callback(void) {} /** * call_usermodehelper_setup - prepare to call a usermode helper - * @path - path to usermode executable - * @argv - arg vector for process - * @envp - environment for process + * @path: path to usermode executable + * @argv: arg vector for process + * @envp: environment for process * - * Returns either NULL on allocation failure, or a subprocess_info + * Returns either %NULL on allocation failure, or a subprocess_info * structure. This should be passed to call_usermodehelper_exec to * exec the process and free the structure. */ @@ -505,7 +505,7 @@ int call_usermodehelper_pipe(char *path, char **argv, char **envp, if (ret < 0) goto out; - return call_usermodehelper_exec(sub_info, 1); + return call_usermodehelper_exec(sub_info, UMH_WAIT_EXEC); out: call_usermodehelper_freeinfo(sub_info);