diff options
author | thepish <thepish@FreeBSD.org> | 1998-08-04 14:33:42 +0000 |
---|---|---|
committer | thepish <thepish@FreeBSD.org> | 1998-08-04 14:33:42 +0000 |
commit | 8e7ba6d33c1951c3fe86b699df06aaf364658e6e (patch) | |
tree | 5cbd871cc5e0acc953b69d24616f06ff0bb90860 /usr.sbin/rtprio | |
parent | e8ccb4f081316fdb1146a5b00fc424fd5b6a7649 (diff) | |
download | FreeBSD-src-8e7ba6d33c1951c3fe86b699df06aaf364658e6e.zip FreeBSD-src-8e7ba6d33c1951c3fe86b699df06aaf364658e6e.tar.gz |
PR: 7489
Submitted by: Jos.Backus@nl.origin-it.com
Correct execvp fail message in current
Diffstat (limited to 'usr.sbin/rtprio')
-rw-r--r-- | usr.sbin/rtprio/rtprio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtprio/rtprio.c b/usr.sbin/rtprio/rtprio.c index 55aebf4..b1f4edc 100644 --- a/usr.sbin/rtprio/rtprio.c +++ b/usr.sbin/rtprio/rtprio.c @@ -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); |