From 2111435b59ef77913943f077a6b54f0e40570814 Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Wed, 19 Mar 2014 12:52:49 +0000 Subject: [PATCH] errx prepends the program name to the message; don't do it by hand. --- tools/regression/priv/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/regression/priv/main.c b/tools/regression/priv/main.c index c8318fa96f13..74b7b2f47775 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