diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2008-12-31 11:56:35 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2008-12-31 11:56:35 +0000 |
| commit | fcdb2e960707478a471e6f823e20fe25743ab9f1 (patch) | |
| tree | e937fd133c7e3b94364eba361178a63cc97fe162 /sys/security | |
| parent | f8349101a6bf8e2041f286cbf9c57581ed8bdbab (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit_bsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c index 1ddb8be4a3fd..c1e0494bcb46 100644 --- a/sys/security/audit/audit_bsm.c +++ b/sys/security/audit/audit_bsm.c @@ -1462,7 +1462,7 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau) } kau_write(rec, subj_tok); - tok = au_to_return32((char)ar->ar_errno, ar->ar_retval); + tok = au_to_return32(au_errno_to_bsm(ar->ar_errno), ar->ar_retval); kau_write(rec, tok); /* Every record gets a return token */ kau_close(rec, &ar->ar_endtime, ar->ar_event); |
