Fix typo: HAVEL_LEVEL2
authorEnji Cooper <yaneurabeya@gmail.com>
Thu, 9 Apr 2020 04:21:19 +0000 (21:21 -0700)
committerIustin Pop <iustin@k1024.org>
Mon, 20 Apr 2020 18:45:37 +0000 (20:45 +0200)
This change initializes the `entry_id` to `ACL_FIRST_ENTRY` when `ACL`
objects are created.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
acl.c

diff --git a/acl.c b/acl.c
index a774627bca410c9072ddb521d175588e6759c2aa..986978d87a55705d9110bfff5cb6fcbd9f6ed479 100644 (file)
--- a/acl.c
+++ b/acl.c
@@ -120,7 +120,7 @@ static PyObject* ACL_new(PyTypeObject* type, PyObject* args,
         Py_DECREF(newacl);
         return NULL;
     }
-#ifdef HAVEL_LEVEL2
+#ifdef HAVE_LEVEL2
     acl->entry_id = ACL_FIRST_ENTRY;
 #endif