diff options
| author | m00nbsd <42475391+m00nbsd@users.noreply.github.com> | 2020-05-21 07:47:27 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-21 09:10:30 +0200 |
| commit | df09374f0c7fd6f0f085ea054892dc8f90ae725c (patch) | |
| tree | b06b89b3b953c6bc17fbcef30591819443c3855e | |
| parent | 49c689a527792cd8e4d4c7fcce39f3354286968a (diff) | |
executor: use the SYZ_USB define for NetBSD
| -rw-r--r-- | executor/common_bsd.h | 2 | ||||
| -rw-r--r-- | pkg/csource/generated.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 4ed81a3a3..31012b737 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -12,7 +12,7 @@ #include <sys/syscall.h> #if GOOS_netbsd -#if SYZ_EXECUTOR || __NR_syz_usb_connect +#if SYZ_EXECUTOR || SYZ_USB #include "common_usb_netbsd.h" static void setup_usb(void) { diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go index 204a766f1..b57105e9c 100644 --- a/pkg/csource/generated.go +++ b/pkg/csource/generated.go @@ -410,7 +410,7 @@ void child() #include <sys/syscall.h> #if GOOS_netbsd -#if SYZ_EXECUTOR || __NR_syz_usb_connect +#if SYZ_EXECUTOR || SYZ_USB #include <dev/usb/usb.h> #include <dev/usb/usbhid.h> |
