X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fiterate_dir.c;h=451143a765f9015236345f40f01640e07d646a7a;hp=5bf138cc49e33c1da83ec9fbf9c922b29d2e474f;hb=7b587995ba7f2fb4e3a8d23f4be0ad91f1ab066a;hpb=6027146334e72aa77c71ed62357e159375afb677 diff --git a/src/iterate_dir.c b/src/iterate_dir.c index 5bf138cc..451143a7 100644 --- a/src/iterate_dir.c +++ b/src/iterate_dir.c @@ -109,7 +109,7 @@ init_wimlib_dentry(struct wimlib_dir_entry *wdentry, struct wim_dentry *dentry, for (struct wim_dentry *d = dentry; !dentry_is_root(d); d = d->d_parent) wdentry->depth++; - if (inode->i_security_id >= 0) { + if (inode_has_security_descriptor(inode)) { struct wim_security_data *sd; sd = wim_get_current_security_data(wim);