diff options
| author | Jim Meyering <jim@meyering.net> | 2003-07-27 06:45:25 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2003-07-27 06:45:25 +0000 |
| commit | 036e172a16e73eb13333a30bf08188623b5c5455 (patch) | |
| tree | e1ff432fe0421022896061f06f3f00ccdbc42b2b /src/pathchk.c | |
| parent | (sort_files): Put `volatile' in the right place. (diff) | |
| download | coreutils-036e172a16e73eb13333a30bf08188623b5c5455.tar.gz coreutils-036e172a16e73eb13333a30bf08188623b5c5455.zip | |
(validate_path): Use %lu, not %ld.
Diffstat (limited to 'src/pathchk.c')
| -rw-r--r-- | src/pathchk.c | 2 |
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; } |
