]> wimlib.net Git - wimlib/blobdiff - src/ntfs-apply.c
add_image => add
[wimlib] / src / ntfs-apply.c
index f794b4a225358ab7796f00e2a030acd7b4dc7b5f..3881f0f4e6562bfb37a1313e733423b60de7b7ad 100644 (file)
@@ -117,7 +117,7 @@ write_ntfs_data_streams(ntfs_inode *ni, struct wim_dentry *dentry,
        for (;;) {
                if (stream_name_nbytes) {
                        /* Skip special UNIX data entries (see documentation for
-                        * WIMLIB_ADD_IMAGE_FLAG_UNIX_DATA) */
+                        * WIMLIB_ADD_FLAG_UNIX_DATA) */
                        if (stream_name_nbytes == WIMLIB_UNIX_DATA_TAG_UTF16LE_NBYTES
                            && !memcmp(stream_name,
                                       WIMLIB_UNIX_DATA_TAG_UTF16LE,
@@ -375,7 +375,7 @@ apply_reparse_data(ntfs_inode *ni, struct wim_dentry *dentry,
        p = put_u16(p, wim_resource_size(lte)); /* ReparseDataLength */
        p = put_u16(p, 0); /* Reserved */
 
-       ret = read_full_resource_into_buf(lte, p, false);
+       ret = read_full_resource_into_buf(lte, p);
        if (ret)
                return ret;