aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-12-29 16:20:58 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-29 22:33:45 +0100
commit1e2936bb42b34a3123a614322bcc27b933394f39 (patch)
tree11c6e63e214e8af75efd4b95a14c6b707489c5e2 /utils
parentca25d072393167164657770091b8b58f0183eb59 (diff)
downloadhurd-1e2936bb42b34a3123a614322bcc27b933394f39.tar.gz
hurd-1e2936bb42b34a3123a614322bcc27b933394f39.tar.bz2
hurd-1e2936bb42b34a3123a614322bcc27b933394f39.zip
Fix printf format specifiers
Message-ID: <20231229212105.858759-4-flaviocruz@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/ftpdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ftpdir.c b/utils/ftpdir.c
index 86ef58f2..dd4d65d2 100644
--- a/utils/ftpdir.c
+++ b/utils/ftpdir.c
@@ -203,7 +203,7 @@ pdirent (const char *name, const struct stat *st, const char *symlink_target,
{
char timebuf[20];
strftime (timebuf, sizeof timebuf, "%Y-%m-%d %H:%M", localtime (&st->st_mtime));
- printf ("%6o %2ld %5d %5d %6" PRIi64 " %s %s\n",
+ printf ("%6o %2zu %5d %5d %6" PRIi64 " %s %s\n",
st->st_mode, st->st_nlink, st->st_uid, st->st_gid, st->st_size,
timebuf, name);
if (symlink_target)