summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-25 08:40:49 +0000
committerJim Meyering <jim@meyering.net>2003-07-25 08:40:49 +0000
commitedd488734adc3acbd38fcc84e08dedc70bde6a86 (patch)
tree9e6069fcdd042aaac82bbfea33aed9ac34ce3d08 /src/pathchk.c
parent4f2b44f787f01db9e78a43611327ad347efb1336 (diff)
downloadcoreutils-edd488734adc3acbd38fcc84e08dedc70bde6a86.tar.xz
(validate_path): Use %ld format (not %d) for size_t value.
Diffstat (limited to 'src/pathchk.c')
-rw-r--r--src/pathchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 4a8064bef..b95915289 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -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;
}