aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-06-02 14:07:48 +0000
committerChristopher Faylor <me@cgf.cx>2003-06-02 14:07:48 +0000
commit418c6236146a7b26b0501a863f99480d990f06cd (patch)
treedc7822b752ce95cc34a0caf5785167e67562f945 /winsup
parentc17e8306d06f795755b751fa8c0021c16d34fa25 (diff)
downloadnewlib-418c6236146a7b26b0501a863f99480d990f06cd.zip
newlib-418c6236146a7b26b0501a863f99480d990f06cd.tar.gz
newlib-418c6236146a7b26b0501a863f99480d990f06cd.tar.bz2
* fhandler.cc (fhandler_base::write): Correct minor printf formatting style
glitch.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index b614335..255ab9c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-02 Christopher Faylor <cgf@redhat.com>
+
+ * fhandler.cc (fhandler_base::write): Correct minor printf formatting
+ style glitch.
+
2003-06-01 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Assume
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index ebd1aa9..ac0dfd5 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -638,7 +638,7 @@ fhandler_base::write (const void *ptr, size_t len)
HANDLE h = get_handle ();
BOOL r = DeviceIoControl (h, FSCTL_SET_SPARSE, NULL, 0, NULL,
0, &dw, NULL);
- syscall_printf ("%d = DeviceIoControl(0x%x, FSCTL_SET_SPARSE, "
+ syscall_printf ("%d = DeviceIoControl(%p, FSCTL_SET_SPARSE, "
"NULL, 0, NULL, 0, &dw, NULL)", r, h);
}
else if (wincap.has_lseek_bug ())