summaryrefslogtreecommitdiffstats
path: root/usr.bin/cap_mkdb
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-06 21:01:54 +0000
committerbde <bde@FreeBSD.org>1998-07-06 21:01:54 +0000
commit0609531ab6b945c4918206f095bc1f6640408654 (patch)
tree0e5040099f85d8bf99734db8ff976b2c1e7d1b49 /usr.bin/cap_mkdb
parentbaf42e5599bd1cbdb2a0e5427980549767a002b8 (diff)
downloadFreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.zip
FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.tar.gz
Fixed printf format errors.
Diffstat (limited to 'usr.bin/cap_mkdb')
-rw-r--r--usr.bin/cap_mkdb/cap_mkdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.c b/usr.bin/cap_mkdb/cap_mkdb.c
index 75ba9b7..1e1c201 100644
--- a/usr.bin/cap_mkdb/cap_mkdb.c
+++ b/usr.bin/cap_mkdb/cap_mkdb.c
@@ -164,7 +164,7 @@ db_build(ifiles)
/* Find the end of the name field. */
if ((p = strchr(bp, ':')) == NULL) {
- warnx("no name field: %.*s", MIN(len, 20), bp);
+ warnx("no name field: %.*s", (int)MIN(len, 20), bp);
continue;
}
@@ -193,7 +193,7 @@ db_build(ifiles)
/* NOTREACHED */
case 1:
warnx("ignored duplicate: %.*s",
- key.size, (char *)key.data);
+ (int)key.size, (char *)key.data);
continue;
}
++reccnt;
@@ -219,7 +219,7 @@ db_build(ifiles)
/* NOTREACHED */
case 1:
warnx("ignored duplicate: %.*s",
- key.size, (char *)key.data);
+ (int)key.size, (char *)key.data);
}
t = p + 1;
}
OpenPOWER on IntegriCloud