Fix a compiler warning by using a printf format matching the variable
type.
This commit is contained in:
parent
16e790da5a
commit
9f15fb6ec3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user