diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-10-20 16:12:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-10-20 16:12:56 +0000 |
commit | f1084b17d0d489eb1a9eb8ab2c62ad38ce48da33 (patch) | |
tree | a440c31e0d973fb1a3dff4dc11b321f991f65839 /dbm_map.c | |
parent | 7abd0407381df78f84ebde8cd8e0ca36c538a498 (diff) | |
download | mandoc-f1084b17d0d489eb1a9eb8ab2c62ad38ce48da33.tar.gz |
st_size is off_t, which is signed, so use %lld rather than %llu;
noticed by Ed Maste when compiling on FreeBSD
Diffstat (limited to 'dbm_map.c')
-rw-r--r-- | dbm_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ dbm_map(const char *fname) } max_offset = be32toh(*dbm_getint(3)) + sizeof(int32_t); if (st.st_size != max_offset) { - warnx("dbm_map(%s): Inconsistent file size %llu (expected %d)", + warnx("dbm_map(%s): Inconsistent file size %lld (expected %d)", fname, st.st_size, max_offset); errno = EFTYPE; goto fail; |