Merge commit '1542d55a2cfc2152fb1d450a101edb7ea2639695'

This commit is contained in:
Thomas Bernard 2015-07-30 00:11:02 +02:00
commit 02a4050ae8
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ get_src_for_route_to(const struct sockaddr * dst,
if(src_len && src) {
if(*src_len < RTA_PAYLOAD(rta)) {
syslog(LOG_WARNING, "cannot copy src: %u<%lu",
(unsigned)*src_len, RTA_PAYLOAD(rta));
(unsigned)*src_len, (unsigned long)RTA_PAYLOAD(rta));
goto error;
}
*src_len = RTA_PAYLOAD(rta);