aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c4
-rw-r--r--nscd/grpcache.c2
-rw-r--r--nscd/hstcache.c2
-rw-r--r--nscd/nscd_conf.c2
-rw-r--r--nscd/pwdcache.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 121f150..7ba36bb 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]);
}
diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index b1634a1..d6b1395 100644
--- a/nscd/grpcache.c
+++ b/nscd/grpcache.c
@@ -211,7 +211,7 @@ addgrbyname (struct database *db, int fd, request_header *req,
uid_t oldeuid = 0;
if (debug_level > 0)
- dbg_log (_("Haven't found \"%s\" in group cache!"), key);
+ dbg_log (_("Haven't found \"%s\" in group cache!"), (char *)key);
if (secure[grpdb])
{
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index e8444d8..ee38c3d 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -296,7 +296,7 @@ addhstbyname (struct database *db, int fd, request_header *req,
uid_t oldeuid = 0;
if (debug_level > 0)
- dbg_log (_("Haven't found \"%s\" in hosts cache!"), key);
+ dbg_log (_("Haven't found \"%s\" in hosts cache!"), (char *)key);
if (secure[hstdb])
{
diff --git a/nscd/nscd_conf.c b/nscd/nscd_conf.c
index 9b8d75c..742f2b7 100644
--- a/nscd/nscd_conf.c
+++ b/nscd/nscd_conf.c
@@ -179,7 +179,7 @@ nscd_parse_file (const char *fname, struct database dbs[lastdb])
else if (strcmp (entry, "server-user") == 0)
{
if (!arg1)
- dbg_log (_("Must specify user name for server-user option"), arg1);
+ dbg_log (_("Must specify user name for server-user option"));
else
server_user = strdup (arg1);
}
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 7e35bef..85a3fd5 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -207,7 +207,7 @@ addpwbyname (struct database *db, int fd, request_header *req,
uid_t oldeuid = 0;
if (debug_level > 0)
- dbg_log (_("Haven't found \"%s\" in password cache!"), key);
+ dbg_log (_("Haven't found \"%s\" in password cache!"), (char *)key);
if (secure[pwddb])
{