summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-27 13:58:44 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-27 13:58:44 +0000
commitda78c9e4a2e1689a4d400553bb5f6aa0537c5f49 (patch)
tree18c823b27ab8bd9a1cd03dcca0ea5348975f3971 /sys/nfs
parent3b6551a921beb7f1408f05c3730aa5802bd6e79c (diff)
downloadFreeBSD-src-da78c9e4a2e1689a4d400553bb5f6aa0537c5f49.zip
FreeBSD-src-da78c9e4a2e1689a4d400553bb5f6aa0537c5f49.tar.gz
Replace AUDIT_ARG() with variable argument macros with a set more more
specific macros for each audit argument type. This makes it easier to follow call-graphs, especially for automated analysis tools (such as fxr). In MFC, we should leave the existing AUDIT_ARG() macros as they may be used by third-party kernel modules. Suggested by: brooks Approved by: re (kib) Obtained from: TrustedBSD Project MFC after: 1 week
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_nfssvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs/nfs_nfssvc.c b/sys/nfs/nfs_nfssvc.c
index 9379fbe..b9186be 100644
--- a/sys/nfs/nfs_nfssvc.c
+++ b/sys/nfs/nfs_nfssvc.c
@@ -79,7 +79,7 @@ nfssvc(struct thread *td, struct nfssvc_args *uap)
KASSERT(!mtx_owned(&Giant), ("nfssvc(): called with Giant"));
- AUDIT_ARG(cmd, uap->flag);
+ AUDIT_ARG_CMD(uap->flag);
error = priv_check(td, PRIV_NFS_DAEMON);
if (error)
OpenPOWER on IntegriCloud