diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index 1f771e9087e6..68747b8691a2 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. */