diff --git a/libntfs-3g/volume.c b/libntfs-3g/volume.c index 43f085a3..c25e7442 100644 --- a/libntfs-3g/volume.c +++ b/libntfs-3g/volume.c @@ -456,7 +456,7 @@ ntfs_volume *ntfs_volume_startup(struct ntfs_device *dev, unsigned long flags) /* ...->open needs bracketing to compile with glibc 2.7 */ if ((dev->d_ops->open)(dev, NVolReadOnly(vol) ? O_RDONLY: O_RDWR)) { - ntfs_log_perror("Error opening partition device"); + ntfs_log_perror("Error opening '%s'", dev->d_name); goto error_exit; } /* Attach the device to the volume. */ diff --git a/src/utils.c b/src/utils.c index b57b0714..cb01ac53 100644 --- a/src/utils.c +++ b/src/utils.c @@ -90,7 +90,7 @@ static const char *fakeraid_msg = "to mount NTFS. Please see the 'dmraid' documentation for help.\n"; static const char *access_denied_msg = -"Please check the volume and the ntfs-3g binary permissions,\n" +"Please check '%s' and the ntfs-3g binary permissions,\n" "and the mounting user ID. More explanation is provided at\n" "http://ntfs-3g.org/support.html#unprivileged\n";