diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2018-01-03 19:28:13 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2018-01-03 19:28:13 +0000 |
| commit | b081d0e4064f45257e89fcc8c4cb5d0113978c2d (patch) | |
| tree | 9d220b08f0b55d34b39bcf905a0b299fc856637c /sys/dev/ath | |
| parent | 218c5b2115dcb9a2386a55d077171eb7785e85c5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath')
| -rw-r--r-- | sys/dev/ath/if_ath_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_ioctl.c b/sys/dev/ath/if_ath_ioctl.c index a7ba0e42df3e..37122c16fc0b 100644 --- a/sys/dev/ath/if_ath_ioctl.c +++ b/sys/dev/ath/if_ath_ioctl.c @@ -197,7 +197,7 @@ ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad) * pointer for us to use below in reclaiming the buffer; * may want to be more defensive. */ - outdata = malloc(outsize, M_TEMP, M_NOWAIT); + outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); if (outdata == NULL) { error = ENOMEM; goto bad; |
