diff options
author | gallatin <gallatin@FreeBSD.org> | 2000-10-25 00:37:34 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2000-10-25 00:37:34 +0000 |
commit | 7bf42ee269b6594defeb8debffc7b50deac46c25 (patch) | |
tree | 42f9f2ebd25899bd63c847a22f437353ab274f0c /sys/alpha | |
parent | e9ae756e2f97102e16b9bc0bfe77314a239fa0a0 (diff) | |
download | FreeBSD-src-7bf42ee269b6594defeb8debffc7b50deac46c25.zip FreeBSD-src-7bf42ee269b6594defeb8debffc7b50deac46c25.tar.gz |
fix bogus cast in osf1_getrlimit/osf1_setrlimit
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/osf1/osf1_misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/osf1/osf1_misc.c b/sys/alpha/osf1/osf1_misc.c index 241ac58..4e2fdeb 100644 --- a/sys/alpha/osf1/osf1_misc.c +++ b/sys/alpha/osf1/osf1_misc.c @@ -399,7 +399,7 @@ osf1_getrlimit(p, uap) { struct __getrlimit_args /* { syscallarg(u_int) which; - syscallarg(struct orlimit *) rlp; + syscallarg(struct rlimit *) rlp; } */ a; if (SCARG(uap, which) >= OSF1_RLIMIT_NLIMITS) @@ -411,7 +411,7 @@ osf1_getrlimit(p, uap) SCARG(&a, which) = RLIMIT_NOFILE; else return (0); - SCARG(&a, rlp) = (struct orlimit *)SCARG(uap, rlp); + SCARG(&a, rlp) = (struct rlimit *)SCARG(uap, rlp); return getrlimit(p, &a); } @@ -424,7 +424,7 @@ osf1_setrlimit(p, uap) { struct __setrlimit_args /* { syscallarg(u_int) which; - syscallarg(struct orlimit *) rlp; + syscallarg(struct rlimit *) rlp; } */ a; if (SCARG(uap, which) >= OSF1_RLIMIT_NLIMITS) @@ -436,7 +436,7 @@ osf1_setrlimit(p, uap) SCARG(&a, which) = RLIMIT_NOFILE; else return (0); - SCARG(&a, rlp) = (struct orlimit *)SCARG(uap, rlp); + SCARG(&a, rlp) = (struct rlimit *)SCARG(uap, rlp); return setrlimit(p, &a); } |