summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2017-08-28 18:52:25 +0000
committermillert <millert@openbsd.org>2017-08-28 18:52:25 +0000
commitc522126c9da095eeb2147df402dda2da1a31d96c (patch)
treebe4f1b24633c0e0d08bc3c5e2d82a6b5bf420410 /sys/dev/usb
parentsync (diff)
downloadwireguard-openbsd-c522126c9da095eeb2147df402dda2da1a31d96c.tar.xz
wireguard-openbsd-c522126c9da095eeb2147df402dda2da1a31d96c.zip
Use xasprintf() instead of calloc() + strlcpy() + memcpy() to
generate the log line. Fixes a clang warning about using the wrong size argument in strlcpy(). The existing code was safe but not good strlcpy() practice. OK otto@
Diffstat (limited to 'sys/dev/usb')
0 files changed, 0 insertions, 0 deletions