diff options
author | alfred <alfred@FreeBSD.org> | 2001-01-08 07:22:06 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-01-08 07:22:06 +0000 |
commit | 88a3867c6ea9a049e27b15c3568dcd9a013779d4 (patch) | |
tree | 5c026a6d902dd4a2cbfdb041a21878dcd96a82a7 /sys | |
parent | a34250a5a0c244200b62c37bc74c69329fc203d7 (diff) | |
download | FreeBSD-src-88a3867c6ea9a049e27b15c3568dcd9a013779d4.zip FreeBSD-src-88a3867c6ea9a049e27b15c3568dcd9a013779d4.tar.gz |
Don't use SCARG.
Pointed out by: bde
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_ktrace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index 003247a..ce408ca 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -48,7 +48,6 @@ #include <sys/ktrace.h> #include <sys/malloc.h> #include <sys/syslog.h> -#include <sys/sysent.h> static MALLOC_DEFINE(M_KTRACE, "KTRACE", "KTRACE"); @@ -360,7 +359,7 @@ utrace(curp, uap) if (!KTRPOINT(p, KTR_USER)) return (0); - if (SCARG(uap, len) > KTR_USER_MAXLEN) + if (uap->len > KTR_USER_MAXLEN) return (EINVAL); p->p_traceflag |= KTRFAC_ACTIVE; kth = ktrgetheader(KTR_USER); |