* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix using

wrong value in condition.
This commit is contained in:
Corinna Vinschen 2012-10-31 15:02:13 +00:00
parent ce6072b921
commit 2345b582f2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-10-31 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix using
wrong value in condition.
2012-10-30 Corinna Vinschen <corinna@vinschen.de>
* include/sys/cygwin.h: Add missing defines for CW_ALLOC_DRIVE_MAP,

View File

@ -2358,7 +2358,7 @@ fhandler_disk_file::rewinddir (DIR *dir)
FILE_SYNCHRONOUS_IO_NONALERT
| FILE_OPEN_FOR_BACKUP_INTENT
| FILE_DIRECTORY_FILE);
if (!NT_SUCCESS (stat))
if (!NT_SUCCESS (status))
debug_printf ("Unable to reopen dir %s, NT error: %p",
get_name (), status);
else