diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2021-11-15 18:34:27 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2021-11-15 18:34:27 +0000 |
| commit | 8e4a3add99ca05c46bde826adcbea552d7a7d9e9 (patch) | |
| tree | 30d6deba6f04765318328cea76899edc722c4942 /usr.bin | |
| parent | f0da2a14670a34d1decfbc17800c4dc4e4ebc324 (diff) | |
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/kdump/kdump.c | 8 | ||||
| -rw-r--r-- | usr.bin/truss/syscalls.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 8b47212f88fc..611c9021cd78 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -2142,8 +2142,8 @@ ktrstructarray(struct ktr_struct_array *ksa, size_t buflen) goto bad_size; memcpy(&kev, data, sizeof(kev)); ktrkevent(&kev); - } else if (strcmp(name, "kevent_freebsd11") == 0) { - struct kevent_freebsd11 kev11; + } else if (strcmp(name, "freebsd11_kevent") == 0) { + struct freebsd11_kevent kev11; if (ksa->struct_size != sizeof(kev11)) goto bad_size; @@ -2175,8 +2175,8 @@ ktrstructarray(struct ktr_struct_array *ksa, size_t buflen) #endif kev.udata = (void *)(uintptr_t)kev32.udata; ktrkevent(&kev); - } else if (strcmp(name, "kevent32_freebsd11") == 0) { - struct kevent32_freebsd11 kev32; + } else if (strcmp(name, "freebsd11_kevent32") == 0) { + struct freebsd11_kevent32 kev32; if (ksa->struct_size != sizeof(kev32)) goto bad_size; diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 128ae624cf5f..67a370b808b5 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -2111,7 +2111,7 @@ print_arg(struct syscall_arg *sc, unsigned long *args, register_t *retval, break; } case Kevent11: { - struct kevent_freebsd11 *ke11; + struct freebsd11_kevent *ke11; struct kevent ke; int numevents = -1; size_t bytes; @@ -2123,7 +2123,7 @@ print_arg(struct syscall_arg *sc, unsigned long *args, register_t *retval, numevents = retval[0]; if (numevents >= 0) { - bytes = sizeof(struct kevent_freebsd11) * numevents; + bytes = sizeof(struct freebsd11_kevent) * numevents; if ((ke11 = malloc(bytes)) == NULL) err(1, "Cannot malloc %zu bytes for kevent array", |
