summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdevs.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-04-07 18:09:39 +0000
committernicm <nicm@openbsd.org>2010-04-07 18:09:39 +0000
commitd4fea7ba215adea2d375ba8a33d26b18a29a3599 (patch)
tree3c93e93ba46f39d0ec916de4c23cff135b6fef86 /sys/dev/usb/usbdevs.h
parentIf we have done a wsdisplay_suspend(), and ACPI decides it does not want to (diff)
downloadwireguard-openbsd-d4fea7ba215adea2d375ba8a33d26b18a29a3599.tar.xz
wireguard-openbsd-d4fea7ba215adea2d375ba8a33d26b18a29a3599.zip
Remove XXX comment and just close received fd if calloc() fails.
If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric
Diffstat (limited to 'sys/dev/usb/usbdevs.h')
0 files changed, 0 insertions, 0 deletions