From 6f72ec189d419565c0e6a9181d09a02c92d09879 Mon Sep 17 00:00:00 2001 From: jpandre Date: Sat, 16 Jan 2010 09:26:01 +0000 Subject: [PATCH] Logged the outcome of making $TXF_DATA resident --- libntfs-3g/volume.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libntfs-3g/volume.c b/libntfs-3g/volume.c index 863bf8cc..ecacb181 100644 --- a/libntfs-3g/volume.c +++ b/libntfs-3g/volume.c @@ -811,6 +811,10 @@ static int fix_txf_data(ntfs_volume *vol) res = -1; free(txf_data); } + if (res) + ntfs_log_error("Failed to make $TXF_DATA resident\n"); + else + ntfs_log_error("$TXF_DATA made resident\n"); } ntfs_attr_close(na); }