Add support for special files on UNIX
[wimlib] / src / iterate_dir.c
index c295dd1858f03af0829583988082bca7e246a349..4e286b157f105c502d9bc85aae29f2e1185965bd 100644 (file)
@@ -87,6 +87,7 @@ init_wimlib_dentry(struct wimlib_dir_entry *wdentry, struct wim_dentry *dentry,
                wdentry->unix_uid = unix_data.uid;
                wdentry->unix_gid = unix_data.gid;
                wdentry->unix_mode = unix_data.mode;
+               wdentry->unix_rdev = unix_data.rdev;
        }
 
        lte = inode_unnamed_lte(inode, wim->lookup_table);