better printf(3) format usage

Reported by: jhb
This commit is contained in:
Wolfram Schneider 2022-02-03 16:56:32 +00:00
parent c830e92924
commit 39a30a8097

View File

@ -296,7 +296,7 @@ fastfind
}
if (p - path >= LOCATE_PATH_MAX)
errx(1, "corrupted database: %s %zu", database, (size_t)(p - path));
errx(1, "corrupted database: %s %td", database, p - path);
}