mirror of https://github.com/Icinga/icinga2.git
Fix incorrect format specifier for fprintf
This commit is contained in:
parent
96583857c0
commit
f7ca0c5b52
|
@ -776,7 +776,7 @@ void Application::UpdatePidFile(const String& filename, pid_t pid)
|
|||
}
|
||||
#endif /* _WIN32 */
|
||||
|
||||
fprintf(m_PidFile, "%d\n", pid);
|
||||
fprintf(m_PidFile, "%lu\n", (unsigned long)pid);
|
||||
fflush(m_PidFile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue