mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
Merge branch 'master' into unstable
This commit is contained in:
@ -1441,7 +1441,7 @@ void createPidFile(void) {
|
||||
/* Try to write the pid file in a best-effort way. */
|
||||
FILE *fp = fopen(server.pidfile,"w");
|
||||
if (fp) {
|
||||
fprintf(fp,"%d\n",getpid());
|
||||
fprintf(fp,"%d\n",(int)getpid());
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user