diff options
author | alfred <alfred@FreeBSD.org> | 2002-12-13 22:27:25 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-12-13 22:27:25 +0000 |
commit | d19b4e039d47537b44233aae83d03b974d29d771 (patch) | |
tree | b2cd5de03207ffb05958058e0037314b0074a8d9 /sys/kern/kern_acct.c | |
parent | d054c724880804baff98bc5759042a9e91fb8122 (diff) | |
download | FreeBSD-src-d19b4e039d47537b44233aae83d03b974d29d771.zip FreeBSD-src-d19b4e039d47537b44233aae83d03b974d29d771.tar.gz |
Remove SCARGS.
Reviewed by: md5
Diffstat (limited to 'sys/kern/kern_acct.c')
-rw-r--r-- | sys/kern/kern_acct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c index 9188e30..c2554b6 100644 --- a/sys/kern/kern_acct.c +++ b/sys/kern/kern_acct.c @@ -139,8 +139,8 @@ acct(td, uap) * If accounting is to be started to a file, open that file for * appending and make sure it's a 'normal'. */ - if (SCARG(uap, path) != NULL) { - NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, SCARG(uap, path), + if (uap->path != NULL) { + NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td); flags = FWRITE | O_APPEND; error = vn_open(&nd, &flags, 0); @@ -187,7 +187,7 @@ acct(td, uap) crfree(acctcred != NOCRED ? acctcred : savacctcred); acctcred = savacctcred = NOCRED; } - if (SCARG(uap, path) == NULL) { + if (uap->path == NULL) { mtx_unlock(&acct_mtx); goto done2; } |