From: Roy Marples Date: Thu, 14 May 2015 13:45:13 +0000 (+0000) Subject: Fix compile on Linux. X-Git-Tag: v6.9.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c82f2e4007bdf896ebab0ddc39ddb45b26f41f3;p=thirdparty%2Fdhcpcd.git Fix compile on Linux. --- diff --git a/dev.c b/dev.c index 6c6b1110..297538ac 100644 --- a/dev.c +++ b/dev.c @@ -62,7 +62,7 @@ dev_stop1(struct dhcpcd_ctx *ctx, int stop) if (stop) logger(ctx, LOG_DEBUG, "dev: unloaded %s", ctx->dev->name); - eloop_event_delete(ctx->eloop, ctx->dev_fd, 0); + eloop_event_delete(ctx->eloop, ctx->dev_fd); ctx->dev->stop(); free(ctx->dev); ctx->dev = NULL;