summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_mls
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac_mls')
-rw-r--r--sys/security/mac_mls/mac_mls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index b4aa3e0..c9d8927 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -470,7 +470,7 @@ static void
mac_mls_init_label(struct label *label)
{
- SLOT(label) = mls_alloc(0);
+ SLOT(label) = mls_alloc(M_WAITOK);
}
static int
OpenPOWER on IntegriCloud