diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 03:31:13 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 03:31:13 +0000 |
commit | 4c978631096a97e1cd68dfe40a1583de537112c4 (patch) | |
tree | 72450c173aeeb2b13c0965635f1867f76738f42d /networking/ether-wake.c | |
parent | e968fcd562da08591b0f7990b839174ad93fc7b4 (diff) | |
download | busybox-w32-4c978631096a97e1cd68dfe40a1583de537112c4.tar.gz busybox-w32-4c978631096a97e1cd68dfe40a1583de537112c4.tar.bz2 busybox-w32-4c978631096a97e1cd68dfe40a1583de537112c4.zip |
assorted fixes for bugs found with randomconfig
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r-- | networking/ether-wake.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); | |||
107 | 107 | ||
108 | int ether_wake_main(int argc, char *argv[]) | 108 | int ether_wake_main(int argc, char *argv[]) |
109 | { | 109 | { |
110 | char *ifname = "eth0", *pass = NULL; | 110 | const char *ifname = "eth0"; |
111 | char *pass = NULL; | ||
111 | unsigned long flags; | 112 | unsigned long flags; |
112 | unsigned char wol_passwd[6]; | 113 | unsigned char wol_passwd[6]; |
113 | int wol_passwd_sz = 0; | 114 | int wol_passwd_sz = 0; |