From: Thomas Markwalder Date: Wed, 26 Apr 2017 19:59:09 +0000 (-0400) Subject: [master] Removed log argument format issue in dispatch.c X-Git-Tag: v4_4_0b1_f1~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121a56812d715a0fa7f4d78650171fb067715a7b;p=thirdparty%2Fdhcp.git [master] Removed log argument format issue in dispatch.c --- diff --git a/common/dispatch.c b/common/dispatch.c index 3ca3749be..b16f1eb79 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -276,8 +276,8 @@ void add_timeout (when, where, what, ref, unref) sec = 0; usec = 0; } else if (sec >= TIME_MAX) { - log_error("Timeout requested: %lu is too large, " - "reducing to: %lu (TIME_MAX - 1)", sec, + log_error("Timeout too large " + "reducing to: %lu (TIME_MAX - 1)", (unsigned long)(TIME_MAX - 1)); sec = TIME_MAX - 1; usec = 0;