mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Fix gcc cast warnings
Gcc -Wall warn: 'lacks a cast' Gcc -Wall warn: 'comparison between pointer and integer' Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
+2
-2
@@ -874,8 +874,8 @@ dump_history(spa_t *spa)
|
||||
(void) snprintf(internalstr,
|
||||
sizeof (internalstr),
|
||||
"[internal %s txg:%lld] %s",
|
||||
zfs_history_event_names[ievent], txg,
|
||||
intstr);
|
||||
zfs_history_event_names[ievent],
|
||||
(longlong_t)txg, intstr);
|
||||
cmd = internalstr;
|
||||
}
|
||||
tsec = time;
|
||||
|
||||
Reference in New Issue
Block a user