coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

fix compilation error in ubuntu #150

Closed gbaligh closed 8 years ago

gbaligh commented 8 years ago

in Ubuntu this code failed to compile

rtmon.c:61:21: error: format '%p' expects argument of type 'void *', but argument 3 has type 'int' [-Werror=format=]
syslog(LOG_ERR, "Binding on socket(%p) failed.", sock);