summaryrefslogtreecommitdiff
path: root/examples/c-influxd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c-influxd')
-rw-r--r--examples/c-influxd/c-influxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c-influxd/c-influxd.c b/examples/c-influxd/c-influxd.c
index fd4ab8cb0..9eabbe461 100644
--- a/examples/c-influxd/c-influxd.c
+++ b/examples/c-influxd/c-influxd.c
@@ -1671,7 +1671,7 @@ int main(int argc, char ** argv)
}
errno = 0;
- if (user != NULL && change_user_group(user, group, pidfile, NULL, NULL) != 0)
+ if (user != NULL && change_user_group(user, group, pidfile) != 0)
{
if (errno != 0)
{