summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-27 06:45:25 +0000
committerJim Meyering <jim@meyering.net>2003-07-27 06:45:25 +0000
commit036e172a16e73eb13333a30bf08188623b5c5455 (patch)
treee1ff432fe0421022896061f06f3f00ccdbc42b2b /src
parentb595cc6f24ce1165458fb2fedebdafe3b9671463 (diff)
downloadcoreutils-036e172a16e73eb13333a30bf08188623b5c5455.tar.xz
(validate_path): Use %lu, not %ld.
Diffstat (limited to 'src')
-rw-r--r--src/pathchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 8bfdd359f..f29627224 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 %ld; exceeds limit of %ld"),
+ error (0, 0, _("path `%s' has length %lu; exceeds limit of %ld"),
path, (unsigned long) strlen (path), path_max);
return 1;
}