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
commit820a922eb2dcbf8ca86090aabcca4efee6be68b5 (patch)
treeee3e61bf51608ec2c19a4a79088ec2c83360711d /ufs
parent51a37080e61e42b3af6962ce76a82990bda82b17 (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);
}