Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-30 08:35:18 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-30 08:35:18 +0400
commitf70389b541c72c3022a63a86603526644c75102a (patch)
tree1c52fb4bb4949d3c187373cbf186d165aba488ef /winsup/cygwin/fhandler_tape.cc
parentda77b2c84c6d5ea5ff4fa7d7dcbbd85db105a15f (diff)
Remove \n from calls to strace class printfs throughout.
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r--winsup/cygwin/fhandler_tape.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc
index f5bb333bc..c99a0190a 100644
--- a/winsup/cygwin/fhandler_tape.cc
+++ b/winsup/cygwin/fhandler_tape.cc
@@ -119,7 +119,7 @@ fhandler_dev_tape::close (void)
if ((has_written) && (! eom_detected))
{
/* if last operation was writing, write a filemark */
- debug_printf ("writing filemark\n");
+ debug_printf ("writing filemark");
op.mt_op = MTWEOF;
op.mt_count = 1;
ioctl (MTIOCTOP, &op);
@@ -131,7 +131,7 @@ fhandler_dev_tape::close (void)
if (is_rewind_device ())
{
- debug_printf ("rewinding\n");
+ debug_printf ("rewinding");
op.mt_op = MTREW;
ioctl (MTIOCTOP, &op);
}
@@ -167,7 +167,7 @@ fhandler_dev_tape::lseek (__off64_t offset, int whence)
struct mtop op;
struct mtpos pos;
- debug_printf ("lseek (%s, %d, %d)\n", get_name (), offset, whence);
+ debug_printf ("lseek (%s, %d, %d)", get_name (), offset, whence);
writebuf ();
eom_detected = eof_detected = 0;
@@ -444,7 +444,7 @@ static int
tape_error (DWORD lasterr, const char *txt)
{
if (lasterr)
- debug_printf ("%s: error: %d\n", txt, lasterr);
+ debug_printf ("%s: error: %d", txt, lasterr);
return lasterr;
}
@@ -452,7 +452,7 @@ tape_error (DWORD lasterr, const char *txt)
int
fhandler_dev_tape::tape_write_marks (int marktype, DWORD len)
{
- syscall_printf ("write_tapemark\n");
+ syscall_printf ("write_tapemark");
while (((lasterr = WriteTapemark (get_handle (),
marktype,
len,