Fixed compiler warning.

This commit is contained in:
Tobias Brunner 2010-06-07 15:33:25 +02:00
parent 499af811c0
commit 4f9b82bc1d
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ static void unlink_pidfile()
* permissions on the parent dir(s) of the PID file */
if (pidfile)
{
ftruncate(fileno(pidfile), 0);
ignore_result(ftruncate(fileno(pidfile), 0));
fclose(pidfile);
}
unlink(PID_FILE);