]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_link.c
xnu-2050.7.9.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_link.c
index d24a92011662adb08346426c904c92721632118c..b1b9359afd873493264aa288c345c0a46a81249b 100644 (file)
@@ -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;
        }