From: Roy Marples Date: Wed, 23 Mar 2016 22:03:16 +0000 (+0000) Subject: Fix compile on Linux. X-Git-Tag: v6.10.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=967e7a042741fc43d93b5da717d609b735b9a37a;p=thirdparty%2Fdhcpcd.git Fix compile on Linux. --- diff --git a/dev.c b/dev.c index 297538ac..cbf97626 100644 --- a/dev.c +++ b/dev.c @@ -174,8 +174,8 @@ dev_start(struct dhcpcd_ctx *ctx) ctx->dev_fd = dev_start1(ctx); if (ctx->dev_fd != -1) { - if (eloop_event_add(ctx->eloop, - ctx->dev_fd, dev_handle_data, ctx, NULL, NULL) == -1) + if (eloop_event_add(ctx->eloop, ctx->dev_fd, + dev_handle_data, ctx) == -1) { logger(ctx, LOG_ERR, "%s: eloop_event_add: %m", __func__);