From 4c978631096a97e1cd68dfe40a1583de537112c4 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Feb 2007 03:31:13 +0000 Subject: assorted fixes for bugs found with randomconfig --- networking/ether-wake.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'networking/ether-wake.c') diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 7e3ef4948..f923149b9 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c @@ -107,7 +107,8 @@ static inline int get_wol_pw(const char *ethoptarg, unsigned char *wol_passwd); int ether_wake_main(int argc, char *argv[]) { - char *ifname = "eth0", *pass = NULL; + const char *ifname = "eth0"; + char *pass = NULL; unsigned long flags; unsigned char wol_passwd[6]; int wol_passwd_sz = 0; -- cgit v1.2.3