Changes by: yura
Update of /cvs/linux-ntfs/ntfsprogs/ntfsprogs
In directory delta357:/tmp/cvs-serv24942/ntfsprogs
Modified Files:
ntfsinfo.c utils.c
Log Message:
bit more nice error messages
Index: ntfsinfo.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/ntfsprogs/ntfsinfo.c,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -p -r1.153 -r1.154
--- ntfsinfo.c 12 Nov 2006 22:46:50 -0000 1.153
+++ ntfsinfo.c 25 Nov 2006 18:38:47 -0000 1.154
@@ -2206,8 +2206,7 @@ int main(int argc, char **argv)
vol = utils_mount_volume(opts.device, NTFS_MNT_RDONLY, opts.force);
if (!vol) {
- printf("Failed to open '%s': %s\n", opts.device,
- strerror(errno));
+ printf("Failed to open '%s'.\n", opts.device);
exit(1);
}
Index: utils.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/ntfsprogs/utils.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -p -r1.67 -r1.68
--- utils.c 13 Nov 2006 17:01:53 -0000 1.67
+++ utils.c 25 Nov 2006 18:38:47 -0000 1.68
@@ -96,7 +96,7 @@ static const char *hibernated_volume_msg
"off properly, so mounting could be done safely.\n";
static const char *unclean_journal_msg =
-"Mount is denied because the NTFS journal file is unclean. Choices are:\n"
+"Access is denied because the NTFS journal file is unclean. Choices are:\n"
" A) Shutdown Windows properly.\n"
" B) Click the 'Safely Remove Hardware' icon in the Windows taskbar\n"
" notification area before disconnecting the device.\n"
@@ -108,7 +108,7 @@ static const char *unclean_journal_msg =
" F) ntfsmount: Mount the volume read-only by using the 'ro' mount option.\n";
static const char *opened_volume_msg =
-"Mount is denied because the NTFS volume is already exclusively opened.\n"
+"Access is denied because the NTFS volume is already exclusively opened.\n"
"The volume may be already mounted, or another software may use it which\n"
"could be identified for example by the help of the 'fuser' command.\n";
|