diff --git a/libntfs-3g/dir.c b/libntfs-3g/dir.c index cbc5ecb0..62ffc762 100644 --- a/libntfs-3g/dir.c +++ b/libntfs-3g/dir.c @@ -1529,7 +1529,7 @@ out: ntfs_inode_close(ni); if (err) { errno = err; - ntfs_log_perror("Could not delete file"); + ntfs_log_debug("Could not delete file: %s\n", strerror(errno)); return -1; } ntfs_log_trace("Done.\n");