diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 17:12:23 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 17:12:23 +0000 |
commit | 53e67c9191c8763683572e411ad1040db0601a08 (patch) | |
tree | e46d5834f6c6c83c748f290b5a17512567b08e43 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c | |
parent | a25e20e54a5e22517638bea76a643cc843bb8b2e (diff) | |
download | FreeBSD-src-53e67c9191c8763683572e411ad1040db0601a08.zip FreeBSD-src-53e67c9191c8763683572e411ad1040db0601a08.tar.gz |
In zfs_post_common(), use %d instead of %hhu.
Found with: clang
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c index 9d6cefb..4b27ec3 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c @@ -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)); |