PR: 7489
Submitted by: Jos.Backus@nl.origin-it.com Correct execvp fail message in current
This commit is contained in:
parent
e7cdb97253
commit
b69602f3bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38091
@ -34,7 +34,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id: rtprio.c,v 1.5 1997/10/13 11:24:01 charnier Exp $";
|
||||
"$Id: rtprio.c,v 1.6 1998/05/19 20:52:31 dufault Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -121,7 +121,7 @@ main(argc, argv)
|
||||
|
||||
if (proc == 0) {
|
||||
execvp(argv[2], &argv[2]);
|
||||
err(1, "%s", argv[0]);
|
||||
err(1, "%s", argv[2]);
|
||||
}
|
||||
}
|
||||
exit (1);
|
||||
|
Loading…
Reference in New Issue
Block a user