bit more nice error messages

edge.strict_endians
yura 2006-11-25 18:38:47 +00:00
parent 8df298aec2
commit 3cd59df400
2 changed files with 3 additions and 4 deletions

View File

@ -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);
}

View File

@ -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";