From: Simon Ruderich Date: Mon, 10 Jun 2013 14:58:27 +0000 (+0200) Subject: coloredstderr.c: Fix parameter name in execvp(). X-Git-Tag: 0.1~76 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=55e8d0d38a256496f9eca9d7f293e1d2e8692a2c;p=coloredstderr%2Fcoloredstderr.git coloredstderr.c: Fix parameter name in execvp(). --- diff --git a/src/coloredstderr.c b/src/coloredstderr.c index eae164d..e3cc1d6 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -530,9 +530,9 @@ int execv(char const *path, char * const argv[]) { } static int (*real_execvp)(char const *path, char * const argv[]); -int execvp(char const *path, char * const argv[]) { +int execvp(char const *file, char * const argv[]) { DLSYM_FUNCTION(real_execvp, "execvp"); update_environment(); - return real_execvp(path, argv); + return real_execvp(file, argv); }