aboutsummaryrefslogtreecommitdiffstats
path: root/src/pathchk.c
diff options
context:
space:
mode:
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 b95915289..8bfdd359f 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -374,7 +374,7 @@ validate_path (char *path, int portability)
if (strlen (path) > (size_t) path_max)
{
error (0, 0, _("path `%s' has length %ld; exceeds limit of %ld"),
- path, strlen (path), path_max);
+ path, (unsigned long) strlen (path), path_max);
return 1;
}