ntfs_fuse_destroy(): clearer error message

master
szaka 2007-06-08 23:30:54 +00:00
parent b4470951ac
commit 55f77f9223
1 changed files with 3 additions and 2 deletions

View File

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