[newlib-cygwin] fhandler_dev_floppy::get_drive_info: fix comment
Corinna Vinschen
corinna@sourceware.org
Fri Jun 24 19:59:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8cfa64140dde9cbe6be1ed2c4ff539de7720a00c
commit 8cfa64140dde9cbe6be1ed2c4ff539de7720a00c
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Tue Dec 15 16:53:35 2015 +0100
fhandler_dev_floppy::get_drive_info: fix comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/fhandler_floppy.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/winsup/cygwin/fhandler_floppy.cc b/winsup/cygwin/fhandler_floppy.cc
index ecf679b..de9e163 100644
--- a/winsup/cygwin/fhandler_floppy.cc
+++ b/winsup/cygwin/fhandler_floppy.cc
@@ -47,9 +47,9 @@ fhandler_dev_floppy::get_drive_info (struct hd_geometry *geo)
PARTITION_INFORMATION *pi = NULL;
DWORD bytes_read = 0;
- /* Always try using the new EX ioctls first (>= XP). If not available,
- fall back to trying the old non-EX ioctls.
- Unfortunately the EX ioctls are not implemented in the floppy driver. */
+ /* Always try using the new EX ioctls first. If not available, fall back
+ to trying the non-EX ioctls which are unfortunately not implemented in
+ the floppy driver. */
if (get_major () != DEV_FLOPPY_MAJOR)
{
if (!DeviceIoControl (get_handle (),
More information about the Cygwin-cvs
mailing list