mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(validate_path): Use %ld format (not %d) for size_t value.
This commit is contained in:
1 parent
4f2b44f787
commit
edd488734a
1 file changed
+1
-1
+1
-1
@@ -373,7 +373,7 @@ validate_path (char *path, int portability)
|
||||
free (parent);
|
||||
if (strlen (path) > (size_t) path_max)
|
||||
{
|
||||
error (0, 0, _("path `%s' has length %d; exceeds limit of %ld"),
|
||||
error (0, 0, _("path `%s' has length %ld; exceeds limit of %ld"),
|
||||
path, strlen (path), path_max);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user