summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastd/subr.c')
-rw-r--r--sbin/hastd/subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/subr.c b/sbin/hastd/subr.c
index 45218bb..b8ee389 100644
--- a/sbin/hastd/subr.c
+++ b/sbin/hastd/subr.c
@@ -149,7 +149,7 @@ role2str(int role)
}
int
-drop_privs(struct hast_resource *res)
+drop_privs(const struct hast_resource *res)
{
char jailhost[sizeof(res->hr_name) * 2];
struct jail jailst;
OpenPOWER on IntegriCloud