summaryrefslogtreecommitdiffstats
path: root/sys/security/audit
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2007-12-04 20:20:59 +0000
committerwkoszek <wkoszek@FreeBSD.org>2007-12-04 20:20:59 +0000
commit354f6f4c2e219185ced54e492b44981b4bc6fb9c (patch)
tree1b7f10c62717159ac9fe56806e8211667236406c /sys/security/audit
parent9e75c558ad28621d920802560562b31369202c17 (diff)
downloadFreeBSD-src-354f6f4c2e219185ced54e492b44981b4bc6fb9c.zip
FreeBSD-src-354f6f4c2e219185ced54e492b44981b4bc6fb9c.tar.gz
Explicitly initialize 'ret' to 0'. It lets one to build tmpfs from the
latest source tree with older compiler--gcc3. Approved by: cognet (mentor)
Diffstat (limited to 'sys/security/audit')
-rw-r--r--sys/security/audit/audit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index 1f771e9..68747b8 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -584,6 +584,8 @@ audit_proc_coredump(struct thread *td, char *path, int errcode)
char **pathp;
au_id_t auid;
+ ret = 0;
+
/*
* Make sure we are using the correct preselection mask.
*/
OpenPOWER on IntegriCloud