Re: [PATCH] fix error in printf format string

2023-10-20 Thread Michal Prívozník
On 10/17/23 08:43, zhujun2 wrote: > use '%u' to printf unsigned int > The commit subject and the body too are not very descriptive. If I were to look at git log in a month or two I would have no idea what this commit does. > Signed-off-by: zhujun2 > --- > examples/c/misc/event-test.c | 2 +- >

[PATCH] fix error in printf format string

2023-10-17 Thread zhujun2
use '%u' to printf unsigned int Signed-off-by: zhujun2 --- examples/c/misc/event-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c/misc/event-test.c b/examples/c/misc/event-test.c index 813bca2699..07d86500cd 100644 --- a/examples/c/misc/event-test.c +++

[PATCH] fix error in printf format string

2023-10-17 Thread zhujun2
use '%u' to printf unsigned int Signed-off-by: zhujun2 --- examples/c/misc/event-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c/misc/event-test.c b/examples/c/misc/event-test.c index 813bca2699..07d86500cd 100644 --- a/examples/c/misc/event-test.c +++

Re: [PATCH] fix error in printf format string

2021-08-19 Thread Michal Prívozník
On 8/19/21 2:14 PM, Zhenyu Ye wrote: > Use %s to print NULLSTR(duri). > > Reported-by: Peng Liang > Signed-off-by: Zhenyu Ye > --- > src/libvirt-domain.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c > index

[PATCH] fix error in printf format string

2021-08-19 Thread Zhenyu Ye
Use %s to print NULLSTR(duri). Reported-by: Peng Liang Signed-off-by: Zhenyu Ye --- src/libvirt-domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 4eb14d4176..3c4204e563 100644 --- a/src/libvirt-domain.c +++