diff options
author | 2014-03-10 16:17:31 +0000 | |
---|---|---|
committer | 2014-03-10 16:17:31 +0000 | |
commit | f3e7bd7fd2610889e291238e5e5293e8a5798597 (patch) | |
tree | eb306ee0eb29c4bfa0fb9523159ec22956ffeb24 /src/osd/sdl/netdev_pcap_osx.c | |
parent | 59ad078f27aa86e3d1efa07c40b8e2989482579f (diff) |
added a few more missing \n in logging / cleanups (nw)
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"); } } |