mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
fix casting issue in error message for 32bit CPUs (e.g. armv7)
This commit is contained in:
1 parent
6f47a72d8e
commit
1536d37b20
1 file changed
+1
-1
@@ -296,7 +296,7 @@ fastfind
|
||||
}
|
||||
|
||||
if (p - path >= LOCATE_PATH_MAX)
|
||||
errx(1, "corrupted database: %s %ld", database, p - path);
|
||||
errx(1, "corrupted database: %s %d", database, (int)(p - path));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user