aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_log_spacemap.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-06-05 13:14:12 +0200
committerBrian Behlendorf <[email protected]>2021-07-26 12:07:15 -0700
commit5dbf6c5a66d3de65f1b0436c8e83097dd49ff059 (patch)
tree59d33400d59c4935afcd37bbbf0263dd96cac71f /module/zfs/spa_log_spacemap.c
parent13737094503a38a219f1ffe641cb257bb4b879cb (diff)
Replace /*PRINTFLIKEn*/ with attribute(printf)
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Issue #12201
Diffstat (limited to 'module/zfs/spa_log_spacemap.c')
-rw-r--r--module/zfs/spa_log_spacemap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/spa_log_spacemap.c b/module/zfs/spa_log_spacemap.c
index f4c2910ad..6fd302b8d 100644
--- a/module/zfs/spa_log_spacemap.c
+++ b/module/zfs/spa_log_spacemap.c
@@ -1033,8 +1033,8 @@ spa_ld_log_sm_metadata(spa_t *spa)
if (sls == NULL) {
spa_load_failed(spa, "spa_ld_log_sm_metadata(): bug "
"encountered: could not find log spacemap for "
- "TXG %ld [error %d]",
- metaslab_unflushed_txg(m), ENOENT);
+ "TXG %llu [error %d]",
+ (u_longlong_t)metaslab_unflushed_txg(m), ENOENT);
return (ENOENT);
}
sls->sls_mscount++;