Commit cd50e55a authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

use pid_t for fork() result

parent b1b70980
......@@ -666,7 +666,7 @@ static int mkpath(char *path)
static void createNewSalt(pam_handle_t *pamh, const char *path, struct passwd *userInfo)
const int pid = fork();
const pid_t pid = fork();
if (pid == -1) {
pam_syslog(pamh, LOG_ERR, "%s: Couldn't fork to create salt file", logPrefix);
} else if (pid == 0) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment