diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-05-09 00:31:29 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-10 02:44:59 +0200 |
commit | bc7a03f4110b8d3a302a9235d8a047448509951d (patch) | |
tree | d240719fff1c7d852d5c823ecfcb3504e7c56d1c /ext2fs/hyper.c | |
parent | 67a9890063b9c5327ee1b89f857826235c9f63dc (diff) | |
download | hurd-bc7a03f4110b8d3a302a9235d8a047448509951d.tar.gz hurd-bc7a03f4110b8d3a302a9235d8a047448509951d.tar.bz2 hurd-bc7a03f4110b8d3a302a9235d8a047448509951d.zip |
ext2fs: Port to x86_64
Message-Id: <20230508213136.608575-35-bugaevc@gmail.com>
Diffstat (limited to 'ext2fs/hyper.c')
-rw-r--r-- | ext2fs/hyper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext2fs/hyper.c b/ext2fs/hyper.c index 3fe4a7d7..dd09442a 100644 --- a/ext2fs/hyper.c +++ b/ext2fs/hyper.c @@ -20,6 +20,7 @@ #include <string.h> #include <stdio.h> #include <error.h> +#include <inttypes.h> #include <hurd/store.h> #include "ext2fs.h" @@ -104,7 +105,7 @@ get_hypermetadata (void) (long long int) le32toh (sblock->s_blocks_count) << log2_block_size); if (log2_dev_blocks_per_fs_block != 0 && (store->size & ((1 << log2_dev_blocks_per_fs_block) - 1)) != 0) - ext2_warning ("%Ld (%zd byte) device blocks " + ext2_warning ("%" PRIi64 " (%zd byte) device blocks " " unused after last filesystem (%d byte) block", (store->size & ((1 << log2_dev_blocks_per_fs_block) - 1)), store->block_size, block_size); |