summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_iwm.c')
-rw-r--r--sys/dev/pci/if_iwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index 3835246c33a..bde385782f6 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.57 2015/10/16 10:04:56 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.58 2015/10/16 10:29:55 stsp Exp $ */
/*
* Copyright (c) 2014 genua mbh <info@genua.de>
@@ -3408,7 +3408,7 @@ iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd)
error = EINVAL;
goto out;
}
- m = MCLGETI(NULL, M_DONTWAIT, NLL, totlen);
+ m = MCLGETI(NULL, M_DONTWAIT, NULL, totlen);
if (m == NULL) {
printf("%s: could not get fw cmd mbuf (%zd bytes)\n",
DEVNAME(sc), totlen);