diff options
Diffstat (limited to 'src/osd/sdl/netdev_pcap_osx.c')
-rw-r--r-- | src/osd/sdl/netdev_pcap_osx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/sdl/netdev_pcap_osx.c b/src/osd/sdl/netdev_pcap_osx.c index 231cf9ce295..4f005efd1a8 100644 --- a/src/osd/sdl/netdev_pcap_osx.c +++ b/src/osd/sdl/netdev_pcap_osx.c @@ -69,7 +69,7 @@ netdev_pcap::netdev_pcap(const char *name, class device_network_interface *ifdev } if(pcap_set_datalink(m_p, DLT_EN10MB) == -1) { - mame_printf_verbose("Unable to set %s to ethernet", name); + mame_printf_verbose("Unable to set %s to ethernet\n", name); pcap_close(m_p); m_p = NULL; return; @@ -89,10 +89,10 @@ void netdev_pcap::set_mac(const char *mac) if(!m_p) return; sprintf(filter, "not ether src %.2X:%.2X:%.2X:%.2X:%.2X:%.2X and (ether dst %.2X:%.2X:%.2X:%.2X:%.2X:%.2X or ether multicast or ether broadcast or ether dst 09:00:07:ff:ff:ff)", (unsigned char)mac[0], (unsigned char)mac[1], (unsigned char)mac[2],(unsigned char)mac[3], (unsigned char)mac[4], (unsigned char)mac[5], (unsigned char)mac[0], (unsigned char)mac[1], (unsigned char)mac[2],(unsigned char)mac[3], (unsigned char)mac[4], (unsigned char)mac[5]); if(pcap_compile(m_p, &fp, filter, 1, 0) == -1) { - mame_printf_verbose("Error with pcap_compile"); + mame_printf_verbose("Error with pcap_compile\n"); } if(pcap_setfilter(m_p, &fp) == -1) { - mame_printf_verbose("Error with pcap_setfilter"); + mame_printf_verbose("Error with pcap_setfilter\n"); } } |