diff options
Diffstat (limited to 'plugins/sudoers/iolog.c')
-rw-r--r-- | plugins/sudoers/iolog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sudoers/iolog.c b/plugins/sudoers/iolog.c index aae5713ff..fc1bc7d11 100644 --- a/plugins/sudoers/iolog.c +++ b/plugins/sudoers/iolog.c @@ -259,7 +259,7 @@ static void * set_passprompt_regex(const char *cstr) { void *handle; - char *cp, *last, *str; + char *cp, *str, *last = NULL; debug_decl(set_passprompt_regex, SUDOERS_DEBUG_UTIL); handle = iolog_pwfilt_alloc(); @@ -288,7 +288,7 @@ bad: * Pull out I/O log related data from user_info and command_info arrays. * Returns true if I/O logging is enabled, false if not and -1 on error. */ -int +static int iolog_deserialize_info(struct log_details *details, char * const user_info[], char * const command_info[], char * const argv[], char * const user_env[]) { |