diff options
author | 2017-08-28 18:52:25 +0000 | |
---|---|---|
committer | 2017-08-28 18:52:25 +0000 | |
commit | c522126c9da095eeb2147df402dda2da1a31d96c (patch) | |
tree | be4f1b24633c0e0d08bc3c5e2d82a6b5bf420410 /sys/dev/usb/files.usb | |
parent | sync (diff) | |
download | wireguard-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/files.usb')
0 files changed, 0 insertions, 0 deletions