]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux.
authorRoy Marples <roy@marples.name>
Thu, 14 May 2015 13:45:13 +0000 (13:45 +0000)
committerRoy Marples <roy@marples.name>
Thu, 14 May 2015 13:45:13 +0000 (13:45 +0000)
dev.c

diff --git a/dev.c b/dev.c
index 6c6b11105797b377877d588ccf04a8b22b5482d7..297538ac79763e10254a9f3e807a5a78e1b46f2d 100644 (file)
--- 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;