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/ext2fs.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/ext2fs.c')
-rw-r--r-- | ext2fs/ext2fs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index 8e434969..3c76d8c8 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -28,6 +28,7 @@ #include <error.h> #include <argz.h> #include <argp.h> +#include <inttypes.h> #include <hurd/store.h> #include <version.h> #include "ext2fs.h" @@ -230,7 +231,7 @@ main (int argc, char **argv) &store_parsed, &bootstrap); if (store->size < SBLOCK_OFFS + SBLOCK_SIZE) - ext2_panic ("device too small for superblock (%Ld bytes)", store->size); + ext2_panic ("device too small for superblock (%" PRIi64 " bytes)", store->size); if (store->log2_blocks_per_page < 0) ext2_panic ("device block size (%zu) greater than page size (%lu)", store->block_size, (unsigned long)vm_page_size); |