Make ZFS not crash on mount on 32-bit systems
ZPL_VERSION is unsigned long long, not an int. With this change, a zpool can be created on a 32-bit system (tested on powerpcspe) and mounted correctly. Reviewed by: allanjude
This commit is contained in:
parent
86e5f603f7
commit
bce4470d81
@ -539,7 +539,7 @@ void
|
||||
spa_history_log_version(spa_t *spa, const char *operation)
|
||||
{
|
||||
spa_history_log_internal(spa, operation, NULL,
|
||||
"pool version %llu; software version %llu/%d; uts %s %s %s %s",
|
||||
"pool version %llu; software version %llu/%llu; uts %s %s %s %s",
|
||||
(u_longlong_t)spa_version(spa), SPA_VERSION, ZPL_VERSION,
|
||||
utsname.nodename, utsname.release, utsname.version,
|
||||
utsname.machine);
|
||||
|
Loading…
x
Reference in New Issue
Block a user