summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-22 17:22:34 +0000
committerRoland McGrath <roland@gnu.org>1995-09-22 17:22:34 +0000
commitefe0caaa20d0075f7232fc022e5aecc141726413 (patch)
tree1080a6cfef1802209c45b3d2a402e6ab949e9121 /ufs
parentd78cd02e81f5a75cc658ec1410ea31f165b32630 (diff)
(get_hypermetadata): Use %Zd format for result of sizeof.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/hyper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c
index 8a556cef..36d71728 100644
--- a/ufs/hyper.c
+++ b/ufs/hyper.c
@@ -1,5 +1,5 @@
/* Fetching and storing the hypermetadata (superblock and cg summary info).
- Copyright (C) 1994 Free Software Foundation
+ Copyright (C) 1994, 1995 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -44,7 +44,7 @@ get_hypermetadata (void)
}
if (sblock->fs_bsize < sizeof (struct fs))
{
- fprintf (stderr, "Block size %ld is too small (min is %ld bytes)\n",
+ fprintf (stderr, "Block size %ld is too small (min is %Zd bytes)\n",
sblock->fs_bsize, sizeof (struct fs));
exit (1);
}
@@ -52,7 +52,7 @@ get_hypermetadata (void)
if (sblock->fs_maxsymlinklen > (long)MAXSYMLINKLEN)
{
fprintf (stderr, "Max shortcut symlinklen %ld is too big (max is %ld)\n",
- sblock->fs_maxsymlinklen, MAXSYMLINKLEN);
+ sblock->fs_maxsymlinklen, (long)MAXSYMLINKLEN);
exit (1);
}