From 55f77f92238635e1b8a485d517b424c2b817e9af Mon Sep 17 00:00:00 2001 From: szaka Date: Fri, 8 Jun 2007 23:30:54 +0000 Subject: [PATCH] ntfs_fuse_destroy(): clearer error message --- src/ntfs-3g.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 6b9fe1a9..31da5e5a 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -1571,9 +1571,10 @@ static void ntfs_fuse_destroy(void) if (ctx->vol) { ntfs_log_info("Unmounting %s (%s)\n", opts.device, - ctx->vol->vol_name); + ctx->vol->vol_name); if (ntfs_umount(ctx->vol, FALSE)) - ntfs_log_perror("Failed to unmount volume"); + ntfs_log_perror("Failed to cleanly unmount volume %s", + opts.device); } free(ctx); ctx = NULL;