summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-11-18 02:22:33 +0000
committertedu <tedu@openbsd.org>2014-11-18 02:22:33 +0000
commit1f02efcffbd3901cd7e090c220a87180428f5b4a (patch)
treefaa1ca204622206079249a2d1fcb5ecfe834c254 /sys/dev/softraid.c
parentfile.h doesn't need to include unistd.h (diff)
downloadwireguard-openbsd-1f02efcffbd3901cd7e090c220a87180428f5b4a.tar.xz
wireguard-openbsd-1f02efcffbd3901cd7e090c220a87180428f5b4a.zip
Reduce scope of iovec variables, use mallocarray, and record size for
free. Change rbuf malloc argument to fullsiz, which then makes clear it's the correct size to pass to free. ok millert
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions