aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2007-11-17 23:17:05 +0000
committerJohn Birrell <jb@FreeBSD.org>2007-11-17 23:17:05 +0000
commit9f15fb6ec3ccfb40afd5743252a1c76f9c9692f4 (patch)
tree13955d08ba30614e87e221f71bd155c85c5a760f /usr.sbin
parent16e790da5ad193ae538d181d71a2a1b14709d296 (diff)
downloadsrc-9f15fb6ec3ccfb40afd5743252a1c76f9c9692f4.tar.gz
src-9f15fb6ec3ccfb40afd5743252a1c76f9c9692f4.zip
Fix a compiler warning by using a printf format matching the variable
type.
Notes
Notes: svn path=/head/; revision=173711
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 d31cd7c1cbd1..c4f83d17a6a8 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;