diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 2022-02-01 17:26:20 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 2022-02-01 17:26:20 +0000 |
commit | 792df7ced212b1bb3993e8538ed511b36b146f95 (patch) | |
tree | 35c3089e7a64030ad45aa01f7b622c9722e5dd44 /usr.bin/locate | |
parent | 4daa31c10867b133bdc2a424e1e60d280384dc56 (diff) | |
download | src-792df7ced212b1bb3993e8538ed511b36b146f95.tar.gz src-792df7ced212b1bb3993e8538ed511b36b146f95.zip |
Diffstat (limited to 'usr.bin/locate')
-rw-r--r-- | usr.bin/locate/locate/fastfind.c | 2 |
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)); } |