Fix both arguments to err().
This commit is contained in:
parent
9311717d79
commit
acc17cb5a5
@ -304,7 +304,7 @@ auditid(void)
|
|||||||
auditinfo_t auditinfo;
|
auditinfo_t auditinfo;
|
||||||
|
|
||||||
if (getaudit(&auditinfo) < 0)
|
if (getaudit(&auditinfo) < 0)
|
||||||
err(-1, "getauditinfo");
|
err(1, "getaudit");
|
||||||
printf("auid=%d\n", auditinfo.ai_auid);
|
printf("auid=%d\n", auditinfo.ai_auid);
|
||||||
printf("mask.success=0x%08x\n", auditinfo.ai_mask.am_success);
|
printf("mask.success=0x%08x\n", auditinfo.ai_mask.am_success);
|
||||||
printf("mask.failure=0x%08x\n", auditinfo.ai_mask.am_failure);
|
printf("mask.failure=0x%08x\n", auditinfo.ai_mask.am_failure);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user