(validate_path): Use %ld format (not %d) for size_t value.
authorJim Meyering <jim@meyering.net>
Fri, 25 Jul 2003 08:40:49 +0000 (08:40 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 25 Jul 2003 08:40:49 +0000 (08:40 +0000)
src/pathchk.c

index 4a8064b..b959152 100644 (file)
@@ -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;
     }