summaryrefslogtreecommitdiff
path: root/distrib/special/doas/doas.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-01-21 08:18:54 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-01-21 08:18:54 +0000
commit906f01a40c28f4d84cd954fff69eb933232ca7ce (patch)
treed2a84f430a7fd34c002652305f4d4e4953391225 /distrib/special/doas/doas.c
parentefeb27bcd0dede85fdf787c001cd587e7e9f666a (diff)
Nuke whitespace foolish enough to expose itself during the great
"warning:" rectification.
Diffstat (limited to 'distrib/special/doas/doas.c')
-rw-r--r--distrib/special/doas/doas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/special/doas/doas.c b/distrib/special/doas/doas.c
index 031422a93e7..c2fab7d4574 100644
--- a/distrib/special/doas/doas.c
+++ b/distrib/special/doas/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.2 2016/12/15 20:32:44 krw Exp $ */
+/* $OpenBSD: doas.c,v 1.3 2017/01/21 08:18:53 krw Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -97,7 +97,7 @@ main(int argc, char **argv)
if (setgroups(1, groups) ||
setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) ||
setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid))
- err(1, "failed to change user");
+ err(1, "failed to change user");
execvp(cmd, argv);
if (errno == ENOENT)