summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_dsp.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_dsp.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_dsp.cc')
-rw-r--r--winsup/cygwin/fhandler_dsp.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc
index fad431900..063e79126 100644
--- a/winsup/cygwin/fhandler_dsp.cc
+++ b/winsup/cygwin/fhandler_dsp.cc
@@ -93,12 +93,12 @@ Audio::open (int rate, int bits, int channels, bool bCallback)
nBytesWritten_ = 0L;
bufferIndex_ = 0;
buffer_ = 0L;
- debug_printf ("number devices %d\n", nDevices);
+ debug_printf ("number devices %d", nDevices);
if (nDevices <= 0)
return false;
debug_printf ("trying to map device freq %d, bits %d, "
- "channels %d, callback %d\n", rate, bits, channels,
+ "channels %d, callback %d", rate, bits, channels,
bCallback);
int bytesperSample = bits / 8;
@@ -519,7 +519,7 @@ fhandler_dev_dsp::ioctl (unsigned int cmd, void *ptr)
int *intptr = (int *) ptr;
switch (cmd)
{
-#define CASE(a) case a : debug_printf("/dev/dsp: ioctl %s\n", #a);
+#define CASE(a) case a : debug_printf("/dev/dsp: ioctl %s", #a);
CASE (SNDCTL_DSP_RESET)
audioformat_ = AFMT_S8;
@@ -624,7 +624,7 @@ fhandler_dev_dsp::ioctl (unsigned int cmd, void *ptr)
break;
default:
- debug_printf ("/dev/dsp: ioctl not handled yet! FIXME:\n");
+ debug_printf ("/dev/dsp: ioctl not handled yet! FIXME:");
break;
#undef CASE