mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
errx prepends the program name to the message; don't do it by hand.
This commit is contained in:
parent
34ed55723a
commit
2111435b59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263353
@ -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