X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/13f56ec4e58bf8687e2a68032c093c0213dd519b..316670eb35587141e969394ae8537d66b9211e80:/bsd/hfs/hfs_link.c diff --git a/bsd/hfs/hfs_link.c b/bsd/hfs/hfs_link.c index d24a92011..b1b9359af 100644 --- a/bsd/hfs/hfs_link.c +++ b/bsd/hfs/hfs_link.c @@ -503,7 +503,7 @@ hfs_vnop_link(struct vnop_link_args *ap) error = EMLINK; goto out; } - if (cp->c_flags & (IMMUTABLE | APPEND)) { + if (cp->c_bsdflags & (IMMUTABLE | APPEND)) { error = EPERM; goto out; }