diff options
author | zhouyang <zhouyang789@huawei.com> | 2021-02-13 13:03:06 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2021-02-18 08:17:02 +0000 |
commit | 7fe7ab15e72fcc7c2b4509532990126f5fa5ebfa (patch) | |
tree | d1406ec4f61b162b1d0a4cd74dbfde044ebad697 /contrib/plugins/howvec.c | |
parent | a622d64eea14ee0162621850093137a086c00ab5 (diff) | |
download | qemu-7fe7ab15e72fcc7c2b4509532990126f5fa5ebfa.zip qemu-7fe7ab15e72fcc7c2b4509532990126f5fa5ebfa.tar.gz qemu-7fe7ab15e72fcc7c2b4509532990126f5fa5ebfa.tar.bz2 |
contrib: Don't use '#' flag of printf format
I am reading contrib related code and found some style problems while
check the code using checkpatch.pl. This commit fixs the misuse of
'#' flag of printf format
Signed-off-by: zhouyang <zhouyang789@huawei.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210118031004.1662363-2-zhouyang789@huawei.com>
Message-Id: <20210213130325.14781-5-alex.bennee@linaro.org>
Diffstat (limited to 'contrib/plugins/howvec.c')
-rw-r--r-- | contrib/plugins/howvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/plugins/howvec.c b/contrib/plugins/howvec.c index 3b9a693..6e602aa 100644 --- a/contrib/plugins/howvec.c +++ b/contrib/plugins/howvec.c @@ -209,7 +209,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *p) i++, counts = g_list_next(counts)) { InsnExecCount *rec = (InsnExecCount *) counts->data; g_string_append_printf(report, - "Instr: %-24s\t(%ld hits)\t(op=%#08x/%s)\n", + "Instr: %-24s\t(%ld hits)\t(op=0x%08x/%s)\n", rec->insn, rec->count, rec->opcode, |