diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2003-04-15 19:33:23 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2003-04-15 19:33:23 +0000 |
| commit | 6d1a6a9a9ac4341f1bc4ff3f5187f0bea27788e8 (patch) | |
| tree | cae7c3a765d58624d374a9347a9fbbd5bcd6c2b4 /sys/security/mac/mac_system.c | |
| parent | 8e04260639fcb3abbf2f3399fb17dedada132cb1 (diff) | |
Notes
Diffstat (limited to 'sys/security/mac/mac_system.c')
| -rw-r--r-- | sys/security/mac/mac_system.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/security/mac/mac_system.c b/sys/security/mac/mac_system.c index 26508749917d..8524c0cdf479 100644 --- a/sys/security/mac/mac_system.c +++ b/sys/security/mac/mac_system.c @@ -783,13 +783,12 @@ int mac_init_mbuf_tag(struct m_tag *tag, int flag) { struct label *label; - int error, trflag; + int error; label = (struct label *) (tag + 1); mac_init_label(label); - trflag = (flag == M_DONTWAIT ? M_NOWAIT : M_WAITOK); - MAC_CHECK(init_mbuf_label, label, trflag); + MAC_CHECK(init_mbuf_label, label, flag); if (error) { MAC_PERFORM(destroy_mbuf_label, label); mac_destroy_label(label); |
