diff options
author | Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr> | 2010-03-25 10:07:03 +0100 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:37 +0200 |
commit | aeedae61d12778c4428a7e266913221269480162 (patch) | |
tree | 023ce3b78a8d62a129032fc6028d457f5e9199c1 /timer.c | |
parent | 2fa86d0c611b69e175c3b07116e9b67b85fe20ef (diff) |
102_libc6-2.9-fixes.diff from the Debian package version 20080615-8:
"Fixes for recent libc releases."
[ignoring changes to the build generated cftoken.c file]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'timer.c')
-rw-r--r-- | timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -71,14 +71,14 @@ dhcp6_add_timer(timeout, timeodata) struct dhcp6_timer *newtimer; if ((newtimer = malloc(sizeof(*newtimer))) == NULL) { - dprintf(LOG_ERR, FNAME, "can't allocate memory"); + debug_printf(LOG_ERR, FNAME, "can't allocate memory"); return (NULL); } memset(newtimer, 0, sizeof(*newtimer)); if (timeout == NULL) { - dprintf(LOG_ERR, FNAME, "timeout function unspecified"); + debug_printf(LOG_ERR, FNAME, "timeout function unspecified"); exit(1); } newtimer->expire = timeout; @@ -165,7 +165,7 @@ dhcp6_timer_rest(timer) gettimeofday(&now, NULL); if (TIMEVAL_LEQ(timer->tm, now)) { - dprintf(LOG_DEBUG, FNAME, + debug_printf(LOG_DEBUG, FNAME, "a timer must be expired, but not yet"); returnval.tv_sec = returnval.tv_usec = 0; } else |