mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Fix a compiler warning by using a printf format matching the variable
type.
This commit is contained in:
parent
16e790da5a
commit
9f15fb6ec3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173711
|
@ -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 a new issue