From 036e172a16e73eb13333a30bf08188623b5c5455 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 Jul 2003 06:45:25 +0000 Subject: [PATCH] (validate_path): Use %lu, not %ld. --- src/pathchk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pathchk.c b/src/pathchk.c index 8bfdd359fd..f296272247 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; } -- 2.47.2