aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastctl
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-05-14 17:02:03 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-05-14 17:02:03 +0000
commit0cddb12ffd5d10e7805ea269afea0f5a41671fcf (patch)
tree4582135bbbedab14d50df3c3ec3b7ec8b4f47185 /sbin/hastctl
parentbcc9f32110ae7b8b1094c010ceb188c00656afda (diff)
downloadsrc-0cddb12ffd5d10e7805ea269afea0f5a41671fcf.tar.gz
src-0cddb12ffd5d10e7805ea269afea0f5a41671fcf.zip
Notes
Diffstat (limited to 'sbin/hastctl')
-rw-r--r--sbin/hastctl/hastctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastctl/hastctl.c b/sbin/hastctl/hastctl.c
index cf692ce95f52..c4cd6a4b91c1 100644
--- a/sbin/hastctl/hastctl.c
+++ b/sbin/hastctl/hastctl.c
@@ -480,7 +480,7 @@ main(int argc, char *argv[])
cfg->hc_controladdr);
}
- if (drop_privs(true) != 0)
+ if (drop_privs(NULL) != 0)
exit(EX_CONFIG);
/* Send the command to the server... */