From e13c01e6863b7384e70f10068c6b76c1d24d9945 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 May 2012 22:05:06 -0500 Subject: Clean up ugly error message --- kioslave/media/mediamanager/halbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kioslave/media/mediamanager') diff --git a/kioslave/media/mediamanager/halbackend.cpp b/kioslave/media/mediamanager/halbackend.cpp index 8d4d6f0a7..575d7f729 100644 --- a/kioslave/media/mediamanager/halbackend.cpp +++ b/kioslave/media/mediamanager/halbackend.cpp @@ -1272,7 +1272,7 @@ static TQString mount_priv(const char *udi, const char *mount_point, const char if ( !strcmp(error.name, "org.freedesktop.Hal.Device.Volume.UnknownFilesystemType")) qerror = i18n("Invalid filesystem type"); else if ( !strcmp(error.name, "org.freedesktop.Hal.Device.Volume.PermissionDenied")) - qerror = i18n("Permissions denied

Please ensure that:
1. You have permission to access this device.
2. This device node is not listed in /etc/fstab.

"); + qerror = i18n("Permission denied

Please ensure that:
1. You have permission to access this device.
2. This device node is not listed in /etc/fstab.

"); else if ( !strcmp(error.name, "org.freedesktop.Hal.Device.PermissionDeniedByPolicy")) qerror = privilegedMount(udi, mount_point, poptions, noptions); else if ( !strcmp(error.name, "org.freedesktop.Hal.Device.Volume.AlreadyMounted")) -- cgit v1.2.1