summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-03-19 12:52:49 +0000
committerjmmv <jmmv@FreeBSD.org>2014-03-19 12:52:49 +0000
commit92ea057affb98e76a24ee7fb4a6a01beb91f9824 (patch)
tree12beba4ef616eeb87a7e15009a9a1d9d7d1c3c71 /tools
parent72c4c55b8dc505b695206d0ce122aa1363610966 (diff)
downloadFreeBSD-src-92ea057affb98e76a24ee7fb4a6a01beb91f9824.zip
FreeBSD-src-92ea057affb98e76a24ee7fb4a6a01beb91f9824.tar.gz
errx prepends the program name to the message; don't do it by hand.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/priv/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/priv/main.c b/tools/regression/priv/main.c
index c8318fa..74b7b2f 100644
--- a/tools/regression/priv/main.c
+++ b/tools/regression/priv/main.c
@@ -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
OpenPOWER on IntegriCloud