From: Damien Neil Date: Thu, 15 Feb 2001 20:28:33 +0000 (+0000) Subject: Fixed a log format bug: %d -> %ld, plus a (long int) cast. X-Git-Tag: V3-BETA-2-PATCH-18~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b209f985c4c25903b6abed59e7b2d593f84216fd;p=thirdparty%2Fdhcp.git Fixed a log format bug: %d -> %ld, plus a (long int) cast. --- diff --git a/omapip/buffer.c b/omapip/buffer.c index 3adaceb18..eb694328f 100644 --- a/omapip/buffer.c +++ b/omapip/buffer.c @@ -91,8 +91,8 @@ static void trace_connection_input_input (trace_type_t *ttype, omapi_connection_object_t, lp); if (!c) { - log_error ("trace connection input: no connection index %d", - connect_index); + log_error ("trace connection input: no connection index %ld", + (long int)connect_index); return; }