Cast to make warning disappear.

git-svn-id: file:///svn/unbound/trunk@157 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-02-27 15:46:28 +00:00
parent 06af702c20
commit a3abab528b

View file

@ -151,8 +151,10 @@ checkoldpid(struct config_file* cfg)
} else {
/** see if it is still alive */
if(kill(old, 0) == 0 || errno == EPERM)
log_warn("unbound is already running as pid %u.", old);
else log_warn("did not exit gracefully last time (%u)", old);
log_warn("unbound is already running as pid %u.",
(unsigned)old);
else log_warn("did not exit gracefully last time (%u)",
(unsigned)old);
}
}