[DRBD-cvs] svn commit by lars - r2032 - branches/drbd-0.7/user - missing commit: execv -> execvp transition

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Thu Dec 22 18:31:23 CET 2005


Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: lars
Date: 2005-12-22 18:31:20 +0100 (Thu, 22 Dec 2005)
New Revision: 2032

Modified:
   branches/drbd-0.7/user/drbdadm_adjust.c
Log:
missing commit: execv -> execvp transition

Modified: branches/drbd-0.7/user/drbdadm_adjust.c
===================================================================
--- branches/drbd-0.7/user/drbdadm_adjust.c	2005-12-21 10:55:52 UTC (rev 2031)
+++ branches/drbd-0.7/user/drbdadm_adjust.c	2005-12-22 17:31:20 UTC (rev 2032)
@@ -64,7 +64,7 @@
     close(pipes[0]); // close reading end
     dup2(pipes[1],1); // 1 = stdout
     close(pipes[1]);
-    execv(argv[0],argv);
+    execvp(argv[0],argv);
     fprintf(stderr,"Can not exec");
     exit(E_exec_error);
   }



More information about the drbd-cvs mailing list