Fix a compiler warning by using a printf format matching the variable

type.
This commit is contained in:
John Birrell 2007-11-17 23:17:05 +00:00
parent 16e790da5a
commit 9f15fb6ec3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173711

View file

@ -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;