]> wimlib.net Git - wimlib/commitdiff
A couple more debug statements
authorEric Biggers <ebiggers3@gmail.com>
Sun, 26 Aug 2012 18:32:11 +0000 (13:32 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 26 Aug 2012 18:32:11 +0000 (13:32 -0500)
src/ntfs-apply.c

index d3457fb894bfc6677a1c75dcaac33cf4a7d5d9a0..0ca1951d153f0493bccae8a7fb2e88a7c04abea1 100644 (file)
@@ -230,6 +230,8 @@ static int apply_reparse_data(ntfs_inode *ni, const struct dentry *dentry,
 
        lte = dentry_first_lte(dentry, w->lookup_table);
 
+       DEBUG("Applying reparse data to `%s'", dentry->full_path_utf8);
+
        if (!lte) {
                ERROR("Could not find reparse data for `%s'",
                      dentry->full_path_utf8);
@@ -621,6 +623,7 @@ static int do_wim_apply_image_ntfs(WIMStruct *w, const char *device, int extract
        ntfs_volume *vol;
        int ret;
        
+       DEBUG("Mounting NTFS volume `%s'", device);
        vol = ntfs_mount(device, 0);
        if (!vol) {
                ERROR_WITH_ERRNO("Failed to mount NTFS volume `%s'", device);
@@ -641,6 +644,7 @@ static int do_wim_apply_image_ntfs(WIMStruct *w, const char *device, int extract
                                       wim_apply_dentry_timestamps,
                                       &args);
 out:
+       DEBUG("Unmounting NTFS volume `%s'", device);
        if (ntfs_umount(vol, FALSE) != 0) {
                ERROR_WITH_ERRNO("Failed to unmount NTFS volume `%s'", device);
                if (ret == 0)