Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

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

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) {
Markdown is supported
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