svn commit: r263353 - head/tools/regression/priv
Julio Merino
jmmv at FreeBSD.org
Wed Mar 19 12:52:50 UTC 2014
Author: jmmv
Date: Wed Mar 19 12:52:49 2014
New Revision: 263353
URL: http://svnweb.freebsd.org/changeset/base/263353
Log:
errx prepends the program name to the message; don't do it by hand.
Modified:
head/tools/regression/priv/main.c
Modified: head/tools/regression/priv/main.c
==============================================================================
--- head/tools/regression/priv/main.c Wed Mar 19 12:51:40 2014 (r263352)
+++ head/tools/regression/priv/main.c Wed Mar 19 12:52:49 2014 (r263353)
@@ -543,7 +543,7 @@ main(int argc, char *argv[])
* force the use of privilege, and will likely need checking.
*/
if (getuid() != 0 && geteuid() != 0)
- errx(-1, "priv: must be run as root");
+ errx(-1, "must be run as root");
/*
* Run each test four times, varying whether the process is running
More information about the svn-src-head
mailing list