summaryrefslogtreecommitdiff
path: root/usr/src/cmd/auditreduce/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/auditreduce/proc.c')
-rw-r--r--usr/src/cmd/auditreduce/proc.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr/src/cmd/auditreduce/proc.c b/usr/src/cmd/auditreduce/proc.c
index 5e235675a9..2de2465990 100644
--- a/usr/src/cmd/auditreduce/proc.c
+++ b/usr/src/cmd/auditreduce/proc.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2003 Sun Microsystems, Inc.
- * All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Main processor for auditreduce.
@@ -36,6 +33,7 @@
#include <sys/types.h>
#include <locale.h>
#include <bsm/libbsm.h>
+#include <bsm/audit.h>
#include "auditr.h"
extern int write_header();
@@ -631,9 +629,9 @@ register audit_pcb_t *pcb;
adr_t adr;
struct timeval tv;
uint_t bytes;
- ushort_t id_modifier;
+ au_emod_t id_modifier;
char version;
- ushort_t event_type;
+ au_event_t event_type;
char tokenid;
int rc; /* return code */