log routine called w/ %ld and int argument, cast argument to long

This commit is contained in:
Matthew Dillon 2001-10-29 02:22:49 +00:00
parent 2326da5db5
commit e74e9032da

View file

@ -472,7 +472,7 @@ cisco_input(sc_p sc, item_p item)
default:
log(LOG_WARNING,
"cisco: unknown cisco packet type: 0x%lx\n",
ntohl(p->type));
(long)ntohl(p->type));
break;
case CISCO_ADDR_REPLY:
/* Reply on address request, ignore */