aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/locate/locate/fastfind.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate/locate/fastfind.c')
-rw-r--r--usr.bin/locate/locate/fastfind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/locate/locate/fastfind.c b/usr.bin/locate/locate/fastfind.c
index d67c6c776f67..0dbec4ea15d3 100644
--- a/usr.bin/locate/locate/fastfind.c
+++ b/usr.bin/locate/locate/fastfind.c
@@ -296,7 +296,7 @@ fastfind
}
if (p - path >= LOCATE_PATH_MAX)
- errx(1, "corrupted database: %s %d", database, (int)(p - path));
+ errx(1, "corrupted database: %s %zu", database, (size_t)(p - path));
}