Re: [libvirt] [PATCH 02/10] util: error: Fix error message strings to play well with additional info

2018-12-06 Thread Erik Skultety
On Thu, Dec 06, 2018 at 08:56:59AM +0100, Erik Skultety wrote: > On Wed, Dec 05, 2018 at 05:47:43PM +0100, Peter Krempa wrote: > > Additional information for a string is always in form of a string or s/for a string/for an error message s/always/either > > empty. Fix two offenders. One used %d as

Re: [libvirt] [PATCH 02/10] util: error: Fix error message strings to play well with additional info

2018-12-05 Thread Erik Skultety
On Wed, Dec 05, 2018 at 05:47:43PM +0100, Peter Krempa wrote: > Additional information for a string is always in form of a string or > empty. Fix two offenders. One used %d as format modifier and second > always expected a string. Both are thankfully unused currently. > > Signed-off-by: Peter

[libvirt] [PATCH 02/10] util: error: Fix error message strings to play well with additional info

2018-12-05 Thread Peter Krempa
Additional information for a string is always in form of a string or empty. Fix two offenders. One used %d as format modifier and second always expected a string. Both are thankfully unused currently. Signed-off-by: Peter Krempa --- src/util/virerror.c | 10 -- 1 file changed, 8