summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tape.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-09-03 01:53:12 +0000
committerChristopher Faylor <me@cgf.cx>2004-09-03 01:53:12 +0000
commit0cd9f74fa5f16ff9573ae52a01296b90b02a9324 (patch)
tree5eefd8af91f99ee4a81ed759f1ef0f52b7bbfd3b /winsup/cygwin/fhandler_tape.cc
parent6644c628f58d55c3dd1176d5800adbdbac08a296 (diff)
downloadcygnal-0cd9f74fa5f16ff9573ae52a01296b90b02a9324.tar.gz
cygnal-0cd9f74fa5f16ff9573ae52a01296b90b02a9324.tar.bz2
cygnal-0cd9f74fa5f16ff9573ae52a01296b90b02a9324.zip
Regularize most strace_prints throughout so that %E is always preceded by a
comma and elminate most uses of "foo = %s" to "foo %s".
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r--winsup/cygwin/fhandler_tape.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc
index c86b0f400..ea8853722 100644
--- a/winsup/cygwin/fhandler_tape.cc
+++ b/winsup/cygwin/fhandler_tape.cc
@@ -1307,7 +1307,7 @@ fhandler_dev_tape::raw_read (void *ptr, size_t &ulen)
if (len > 0)
{
if (!mt_evt && !(mt_evt = CreateEvent (&sec_none, TRUE, FALSE, NULL)))
- debug_printf ("Creating event failed: %E");
+ debug_printf ("Creating event failed, %E");
size_t block_fit = !block_size ? len : rounddown(len, block_size);
if (block_fit)
{
@@ -1359,7 +1359,7 @@ fhandler_dev_tape::raw_write (const void *ptr, size_t len)
{
lock (-1);
if (!mt_evt && !(mt_evt = CreateEvent (&sec_none, TRUE, FALSE, NULL)))
- debug_printf ("Creating event failed: %E");
+ debug_printf ("Creating event failed, %E");
int ret = mt->drive (driveno ())->write (get_handle (), mt_evt, ptr, len);
if (ret)
__seterrno_from_win_error (ret);