Re: [PATCH] tools/libs/ctrl: Save errno only once in *PRINTF() and *ERROR()

2021-12-09 Thread Juergen Gross
On 09.12.21 14:31, Jan Beulich wrote: On 09.12.2021 13:09, Juergen Gross wrote: All *PRINTF() and *ERROR() macros are based on xc_reportv() which is saving and restoring errno in order to not modify it. There is no need to save and restore in those macros, too. Signed-off-by: Juergen Gross

Re: [PATCH] tools/libs/ctrl: Save errno only once in *PRINTF() and *ERROR()

2021-12-09 Thread Jan Beulich
On 09.12.2021 13:09, Juergen Gross wrote: > All *PRINTF() and *ERROR() macros are based on xc_reportv() which is > saving and restoring errno in order to not modify it. There is no need > to save and restore in those macros, too. > > Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich Albeit

[PATCH] tools/libs/ctrl: Save errno only once in *PRINTF() and *ERROR()

2021-12-09 Thread Juergen Gross
All *PRINTF() and *ERROR() macros are based on xc_reportv() which is saving and restoring errno in order to not modify it. There is no need to save and restore in those macros, too. Signed-off-by: Juergen Gross --- tools/libs/ctrl/xc_private.h | 32 +++- 1 file