summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2007-11-17 23:17:05 +0000
committerjb <jb@FreeBSD.org>2007-11-17 23:17:05 +0000
commit64d8b7377394a7b1561f0b8732f84b7d70f087b0 (patch)
tree13955d08ba30614e87e221f71bd155c85c5a760f /usr.sbin
parent30baf38e0e487eb5731da0367e9b5467548b831c (diff)
downloadFreeBSD-src-64d8b7377394a7b1561f0b8732f84b7d70f087b0.zip
FreeBSD-src-64d8b7377394a7b1561f0b8732f84b7d70f087b0.tar.gz
Fix a compiler warning by using a printf format matching the variable
type.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sa/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sa/db.c b/usr.sbin/sa/db.c
index d31cd7c..c4f83d1 100644
--- a/usr.sbin/sa/db.c
+++ b/usr.sbin/sa/db.c
@@ -89,7 +89,7 @@ db_copy_in(DB **mdb, const char *dbname, const char *uname, BTREEINFO *bti,
goto closeout;
} else if (rv == 0) { /* It's there; verify version. */
if (data.size != sizeof(version)) {
- warnx("invalid version size %d in %s",
+ warnx("invalid version size %zd in %s",
data.size, uname);
error = -1;
goto closeout;
OpenPOWER on IntegriCloud