Index: tonezone.c =================================================================== --- tonezone.c (revision 7146) +++ tonezone.c (working copy) @@ -435,11 +435,7 @@ dump_tone_zone(h, MAX_SIZE - space); #endif -#if defined(__FreeBSD__) if ((res = ioctl(fd, DAHDI_LOADZONE, &h))) { -#else - if ((res = ioctl(fd, DAHDI_LOADZONE, h))) { -#endif fprintf(stderr, "ioctl(DAHDI_LOADZONE) failed: %s\n", strerror(errno)); return res; }