1
0

002-fix-musl.patch 287 B

1234567891011
  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;