summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-24 21:25:53 +0000
committerandre <andre@FreeBSD.org>2013-08-24 21:25:53 +0000
commite02967a3c7385a60e805d7e72349ec9e4b0fa823 (patch)
tree5509851fb043b99b801d386145dae04f6ad694ae /sys
parent3541d8b1434b233c6420ff91d742fe8b8c53a2e1 (diff)
downloadFreeBSD-src-e02967a3c7385a60e805d7e72349ec9e4b0fa823.zip
FreeBSD-src-e02967a3c7385a60e805d7e72349ec9e4b0fa823.tar.gz
After r254779 "error" must always be present in mb_ctor_pack(),
not only when MAC is defined. Reported by: gjb / tinderbox Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_mbuf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_mbuf.c b/sys/kern/kern_mbuf.c
index 967fea1..4d45553 100644
--- a/sys/kern/kern_mbuf.c
+++ b/sys/kern/kern_mbuf.c
@@ -619,10 +619,7 @@ mb_ctor_pack(void *mem, int size, void *arg, int how)
{
struct mbuf *m;
struct mb_args *args;
-#ifdef MAC
- int error;
-#endif
- int flags;
+ int error, flags;
short type;
m = (struct mbuf *)mem;
OpenPOWER on IntegriCloud