Oops, committed old version of previous diff with a typo in it: NLL -> NULL
authorstsp <stsp@openbsd.org>
Fri, 16 Oct 2015 10:29:55 +0000 (10:29 +0000)
committerstsp <stsp@openbsd.org>
Fri, 16 Oct 2015 10:29:55 +0000 (10:29 +0000)
sys/dev/pci/if_iwm.c

index 3835246..bde3857 100644 (file)
@@ -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);