mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
In zfs_post_common(), use %d instead of %hhu.
Found with: clang
This commit is contained in:
parent
8e5fffdfb5
commit
6e634bb80f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213790
@ -350,7 +350,7 @@ zfs_post_common(spa_t *spa, vdev_t *vd, const char *name)
|
||||
|
||||
snprintf(class, sizeof(class), "%s.%s.%s", FM_RSRC_RESOURCE,
|
||||
ZFS_ERROR_CLASS, name);
|
||||
sbuf_printf(&sb, " %s=%hhu", FM_VERSION, FM_RSRC_VERSION);
|
||||
sbuf_printf(&sb, " %s=%d", FM_VERSION, FM_RSRC_VERSION);
|
||||
sbuf_printf(&sb, " %s=%s", FM_CLASS, class);
|
||||
sbuf_printf(&sb, " %s=%ju", FM_EREPORT_PAYLOAD_ZFS_POOL_GUID,
|
||||
spa_guid(spa));
|
||||
|
Loading…
Reference in New Issue
Block a user