* syscalls.cc (sync): Use b_drive for B: drive (Thanks to Howard Chu).

This commit is contained in:
Corinna Vinschen 2007-01-10 09:06:20 +00:00
parent c8b4fe26ea
commit ac924d61de
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-01-10 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (sync): Use b_drive for B: drive (Thanks to Howard Chu).
2007-01-09 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (getpagesize): Change condition for clarity.

View File

@ -1124,7 +1124,7 @@ sync ()
if (is_floppy ("A:"))
GetVolumeNameForVolumeMountPointA ("A:\\", a_drive, CYG_MAX_PATH);
if (is_floppy ("B:"))
GetVolumeNameForVolumeMountPointA ("B:\\", a_drive, CYG_MAX_PATH);
GetVolumeNameForVolumeMountPointA ("B:\\", b_drive, CYG_MAX_PATH);
HANDLE sh = FindFirstVolumeA (vol, CYG_MAX_PATH);
if (sh != INVALID_HANDLE_VALUE)