Minor fixes (this is now v1.0.0 by the way)
authorEric Biggers <ebiggers3@gmail.com>
Sat, 1 Sep 2012 21:28:50 +0000 (16:28 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 1 Sep 2012 21:28:50 +0000 (16:28 -0500)
src/dentry.h
src/ntfs-capture.c

index b539fb58148e807c48792183a64fdb80d53a612c..8283b596bfb0ae84a213c2af2a85e58d16cace93 100644 (file)
@@ -99,7 +99,6 @@ static inline void destroy_ads_entry(struct ads_entry *entry)
 {
        FREE(entry->stream_name);
        FREE(entry->stream_name_utf8);
-       memset(entry, 0, sizeof(entry));
 }
 
 static inline bool ads_entry_has_name(const struct ads_entry *entry,
index cd534a21cb507c8533a1f5e3d7c44d7011053a0a..2c478b104bef1be1960216e4cb059f3e0e437ed7 100644 (file)
@@ -288,7 +288,8 @@ static int capture_ntfs_streams(struct dentry *dentry, ntfs_inode *ni,
                        lte = NULL;
                } else {
                        if (type == AT_REPARSE_POINT && data_size < 8) {
-                               ERROR("`%s': reparse point buffer too small");
+                               ERROR("`%s': reparse point buffer too small",
+                                     path);
                                ret = WIMLIB_ERR_NTFS_3G;
                                goto out_put_actx;
                        }