projects
/
openwrt-working-2016
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3dad1f99d56dbade3f58649409831a068f3a9855
[openwrt-working-2016/.git]
/
002-fix-musl.patch
1
--- a/admswconfig.c
2
+++ b/admswconfig.c
3
@@ -68,7 +68,7 @@ int main(int argc, char **argv)
4
return 1;
5
}
6
strcpy(ifr.ifr_name, device);
7
- ifr.ifr_data = (caddr_t)&info;
8
+ ifr.ifr_data = (void *)&info;
9
if (ioctl(fd, SIOCGADMINFO, &ifr) < 0) {
10
perror("SIOCGADMINFO");
11
return 1;