aboutsummaryrefslogtreecommitdiffstats
path: root/usr.sbin/yp_mkdb/yp_mkdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/yp_mkdb/yp_mkdb.c')
-rw-r--r--usr.sbin/yp_mkdb/yp_mkdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/yp_mkdb/yp_mkdb.c b/usr.sbin/yp_mkdb/yp_mkdb.c
index f1f629a42b5b..ecc801071afc 100644
--- a/usr.sbin/yp_mkdb/yp_mkdb.c
+++ b/usr.sbin/yp_mkdb/yp_mkdb.c
@@ -88,8 +88,8 @@ unwind(char *map)
key.data = NULL;
while (yp_next_record(dbp, &key, &data, 1, 1) == YP_TRUE)
- printf("%.*s %.*s\n", (int)key.size, key.data, (int)data.size,
- data.data);
+ printf("%.*s %.*s\n", (int)key.size, (char *)key.data,
+ (int)data.size, (char *)data.data);
(void)(dbp->close)(dbp);
return;