aboutsummaryrefslogtreecommitdiff
path: root/nscd/connections.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/connections.c')
-rw-r--r--nscd/connections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 121f15064b..7ba36bbed9 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -245,7 +245,7 @@ cannot handle old request version %d; current version is %d"),
key, buf, sizeof (buf)));
}
else
- dbg_log ("\t%s (%s)", serv2str[req->type], key);
+ dbg_log ("\t%s (%s)", serv2str[req->type], (char *)key);
}
/* Is this service enabled? */
@@ -293,7 +293,7 @@ cannot handle old request version %d; current version is %d"),
else if (debug_level > 0)
{
if (req->type == INVALIDATE)
- dbg_log ("\t%s (%s)", serv2str[req->type], key);
+ dbg_log ("\t%s (%s)", serv2str[req->type], (char *)key);
else
dbg_log ("\t%s", serv2str[req->type]);
}