errx prepends the program name to the message; don't do it by hand.
This commit is contained in:
parent
34ed55723a
commit
2111435b59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user