From: Jim Meyering Date: Fri, 25 Jul 2003 08:40:49 +0000 (+0000) Subject: (validate_path): Use %ld format (not %d) for size_t value. X-Git-Tag: v5.0.90~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd488734adc3acbd38fcc84e08dedc70bde6a86;p=thirdparty%2Fcoreutils.git (validate_path): Use %ld format (not %d) for size_t value. --- diff --git a/src/pathchk.c b/src/pathchk.c index 4a8064befb..b959152895 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; }