Hello,
Svante Signell, le mar. 17 janv. 2023 13:15:27 +0100, a ecrit:
> --- hurd-git/ext2fs/ext2fs.c 2022-12-08 15:05:29.808000000 +0100
> +++ hurd-git/ext2fs/ext2fs.c 2022-12-08 19:11:12.604000000 +0100
> @@ -232,7 +232,7 @@
> if (store->size < SBLOCK_OFFS + SBLOCK_SIZE)
> ext2_panic ("device too small for superblock (%Ld bytes)", store->size);
> if (store->log2_blocks_per_page < 0)
> - ext2_panic ("device block size (%zu) greater than page size (%lu)",
> + ext2_panic ("device block size (%zu) greater than page size (%u)",
> store->block_size, vm_page_size);
But conversely when we'll build it in 64bit, vm_page_size (actually
uintptr_t) will be an unsigned long.
This needs to be fixed the *proper* way: either use the PRIuPTR macro,
or cast the value into unsigned long.
Samuel