Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26879/ntfsprogs
Modified Files:
utils.c
Log Message:
EPERM is returned if windows was hibernated
Index: utils.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/utils.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- utils.c 30 Sep 2005 19:51:12 -0000 1.46
+++ utils.c 1 Oct 2005 00:42:11 -0000 1.47
@@ -181,11 +181,14 @@ ntfs_volume * utils_mount_volume (const
err = errno;
Eprintf("Couldn't mount device '%s': %s\n", device,
strerror(err));
- if (err == EOPNOTSUPP)
- Eprintf("Windows was either hibernated or did not "
- "shut down properly. Try to mount "
- "volume in windows, shut down and try "
+ if (err == EPERM)
+ Eprintf("Windows was hibernated. Try to mount volume "
+ "in windows, shut down and try "
"again.\n");
+ if (err == EOPNOTSUPP)
+ Eprintf("Windows did not shut down properly. Try to "
+ "mount volume in windows, shut down "
+ "and try again.\n");
return NULL;
}
|