summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-05-20 06:39:02 +0000
committernicm <nicm@openbsd.org>2015-05-20 06:39:02 +0000
commitbb8235cbe9e8876efd5df1148c4072ded5b4b38e (patch)
tree969f0e36c7f63aa0adecc0d0630815d05bab0cc5 /sys/dev/softraid.c
parentNo need to check the return value of memcpy() if you actually checked this (diff)
downloadwireguard-openbsd-bb8235cbe9e8876efd5df1148c4072ded5b4b38e.tar.xz
wireguard-openbsd-bb8235cbe9e8876efd5df1148c4072ded5b4b38e.zip
Return empty string if format is empty rather than attempting to
allocate zero bytes.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions