[libmultipath] move from execvp to execv for callouts
authorChristophe Varoqui <cvaroqui@zezette.localdomain>
Wed, 2 May 2007 08:55:10 +0000 (10:55 +0200)
committerChristophe Varoqui <cvaroqui@zezette.localdomain>
Wed, 2 May 2007 08:55:10 +0000 (10:55 +0200)
From Redhat resync.

libmultipath/callout.c

index b0bc503..46b89e6 100644 (file)
@@ -78,7 +78,7 @@ int execute_program(char *path, char *value, int len)
                /* dup write side of pipe to STDOUT */
                dup(fds[1]);
 
-               retval = execvp(argv[0], argv);
+               retval = execv(argv[0], argv);
 
                exit(-1);
        case -1: