summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_socket.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-30 04:35:18 +0000
committerChristopher Faylor <me@cgf.cx>2002-09-30 04:35:18 +0000
commitf70389b541c72c3022a63a86603526644c75102a (patch)
tree1c52fb4bb4949d3c187373cbf186d165aba488ef /winsup/cygwin/fhandler_socket.cc
parentda77b2c84c6d5ea5ff4fa7d7dcbbd85db105a15f (diff)
downloadcygnal-f70389b541c72c3022a63a86603526644c75102a.tar.gz
cygnal-f70389b541c72c3022a63a86603526644c75102a.tar.bz2
cygnal-f70389b541c72c3022a63a86603526644c75102a.zip
Remove \n from calls to strace class printfs throughout.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r--winsup/cygwin/fhandler_socket.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 95633e4b5..7d7e984f3 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -1104,7 +1104,7 @@ fhandler_socket::ioctl (unsigned int cmd, void *p)
}
res = get_ifconf (ifcp, cmd);
if (res)
- debug_printf ("error in get_ifconf\n");
+ debug_printf ("error in get_ifconf");
break;
case SIOCGIFFLAGS:
ifr = (struct ifreq *) p;
@@ -1134,7 +1134,7 @@ fhandler_socket::ioctl (unsigned int cmd, void *p)
ifr = (struct ifreq *) p;
if (ifr == 0)
{
- debug_printf ("ifr == NULL\n");
+ debug_printf ("ifr == NULL");
set_errno (EINVAL);
return -1;
}
@@ -1142,16 +1142,16 @@ fhandler_socket::ioctl (unsigned int cmd, void *p)
res = get_ifconf (&ifc, cmd);
if (res)
{
- debug_printf ("error in get_ifconf\n");
+ debug_printf ("error in get_ifconf");
break;
}
- debug_printf (" name: %s\n", ifr->ifr_name);
+ debug_printf (" name: %s", ifr->ifr_name);
for (ifrp = ifc.ifc_req;
(caddr_t) ifrp < ifc.ifc_buf + ifc.ifc_len;
++ifrp)
{
- debug_printf ("testname: %s\n", ifrp->ifr_name);
+ debug_printf ("testname: %s", ifrp->ifr_name);
if (! strcmp (ifrp->ifr_name, ifr->ifr_name))
{
switch (cmd)