changeset 1530:a34236b41ed5 draft

Fix compile on NetBSD
author Roy Marples <roy@marples.name>
date Thu, 10 Jun 2010 10:38:37 +0000
parents 220ed381869b
children 7b62aa754a28 f7b88408c28e
files dhcpcd.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd.c	Thu Jun 10 09:24:55 2010 +0000
+++ b/dhcpcd.c	Thu Jun 10 10:38:37 2010 +0000
@@ -1325,7 +1325,7 @@
 }
 
 static void
-reboot(struct interface *iface, int argc, char **argv)
+if_reboot(struct interface *iface, int argc, char **argv)
 {
 	const struct if_options *ifo;
 	int opt;
@@ -1385,7 +1385,7 @@
 		}
 		if (ifn) {
 			if (action)
-				reboot(ifn, argc, argv);
+				if_reboot(ifn, argc, argv);
 			else if (ifn->state->new)
 				configure(ifn);
 			free_interface(ifp);