Fix set_user prototype.
This commit is contained in:
parent
436bf0fc47
commit
b8cbc4e3ae
@ -210,7 +210,7 @@ static bool resolve_maxscale_conf_fname(
|
||||
char* cnf_file_arg);
|
||||
|
||||
static char* check_dir_access(char* dirname, bool, bool);
|
||||
static int set_user();
|
||||
static int set_user(const char* user);
|
||||
bool pid_file_exists();
|
||||
void write_child_exit_code(int fd, int code);
|
||||
/** SSL multi-threading functions and structures */
|
||||
@ -2433,7 +2433,7 @@ static int cnf_preparser(void* data, const char* section, const char* name, cons
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int set_user(char* user)
|
||||
static int set_user(const char* user)
|
||||
{
|
||||
errno = 0;
|
||||
struct passwd *pwname;
|
||||
|
Loading…
x
Reference in New Issue
Block a user