- if(bind(device_fd, (struct sockaddr *) &sa, (socklen_t) sizeof(sa))) {
- logger(LOG_ERR, _("Could not bind to %s: %s"), device, strerror(errno));
+ if(bind(device_fd, (struct sockaddr *) &sa, (socklen_t) sizeof sa)) {
+ logger(LOG_ERR, _("Could not bind %s to %s: %s"), device, iface, strerror(errno));