]> wimlib.net Git - wimlib/blobdiff - src/modify.c
Alternate stream entries fixes
[wimlib] / src / modify.c
index fde95d098c9a3fc97186b138d6db1a9aa95e0000..5694ec202a53342ac7d8b57a10e9234f7dc0431d 100644 (file)
@@ -478,7 +478,7 @@ WIMLIBAPI int wimlib_add_image(WIMStruct *w, const char *dir,
        if (ret != 0)
                goto out_free_dentry_tree;
 
-       root_dentry->attributes |= WIM_FILE_ATTRIBUTE_DIRECTORY;
+       root_dentry->attributes |= FILE_ATTRIBUTE_DIRECTORY;
 
        /* Construct the dentry tree from the outside filesystem. */
        if (stat(dir, &root_stat) != 0) {