mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Changes to make openzfs build within FreeBSD buildworld
A collection of header changes to enable FreeBSD to build with vendored OpenZFS. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10635
This commit is contained in:
@@ -116,7 +116,7 @@ SHA2Init(uint64_t mech, SHA2_CTX *c)
|
||||
SHA512_256_Init(&c->SHA512_ctx);
|
||||
break;
|
||||
default:
|
||||
panic("unknown mechanism %lu", mech);
|
||||
panic("unknown mechanism %ju", (uintmax_t)mech);
|
||||
}
|
||||
c->algotype = (uint32_t)mech;
|
||||
}
|
||||
|
||||
@@ -88,8 +88,4 @@ typedef int fstrans_cookie_t;
|
||||
typedef struct opensolaris_utsname utsname_t;
|
||||
extern utsname_t *utsname(void);
|
||||
extern int spa_import_rootpool(const char *name);
|
||||
#else
|
||||
#if BYTE_ORDER != BIG_ENDIAN
|
||||
#undef _BIG_ENDIAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user