summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2015-10-16 10:29:56 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2015-10-16 10:29:56 +0000
commit371f82565882a60e3a3b6ff0d7aee12f430efaeb (patch)
tree13f854706d6a2f06fea909287ead6035ea9aee5b /sys/dev
parent0fcfe124bce4c1e4cd80bcadad8c9bfc6e99c6b5 (diff)
Oops, committed old version of previous diff with a typo in it: NLL -> NULL
Diffstat (limited to 'sys/dev')
-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);