Re: [PATCH] lib: Use virReportSystemError() more

2022-04-07 Thread Ján Tomko
On a Monday in 2022, Michal Privoznik wrote: Instead of reporting virReportError(..., g_strerror(), ...) let's use proper virReportSystemError(). Generated with help of cocci: @@ expression c; @@ <... - virReportError(c, + virReportSystemError(errno, ...,

[PATCH] lib: Use virReportSystemError() more

2022-04-04 Thread Michal Privoznik
Instead of reporting virReportError(..., g_strerror(), ...) let's use proper virReportSystemError(). Generated with help of cocci: @@ expression c; @@ <... - virReportError(c, + virReportSystemError(errno, ..., -