summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/savestr.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2007-10-06 23:12:17 +0000
committerkrw <krw@openbsd.org>2007-10-06 23:12:17 +0000
commit70d6abdc7981b08c77e8b1d0ce8f09600de349d3 (patch)
treec272a3d494659d4df32ba7f9ac69f572a9225904 /usr.sbin/tcpdump/savestr.c
parentadd WRKOBJDIR to default env_keep to help 'make fake' in ports. (diff)
downloadwireguard-openbsd-70d6abdc7981b08c77e8b1d0ce8f09600de349d3.tar.xz
wireguard-openbsd-70d6abdc7981b08c77e8b1d0ce8f09600de349d3.zip
Some archs used memset() rather than bzero(). So duplicate diff
previously applied to other archs deleting a memset() this time. e.g. - if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - memset(mapstore, 0, mapsize);
Diffstat (limited to 'usr.sbin/tcpdump/savestr.c')
0 files changed, 0 insertions, 0 deletions