[libvirt] [PATCHv2 6/6] error: drop old-style error reporting

2012-01-19 Thread Eric Blake
While we still don't want to enable gcc's new -Wformat-literal warning, I found a rather easy case where the warning could be reduced, by getting rid of obsolete error-reporting practices. This is the last place where we were passing the (unused) net and conn arguments for constructing an error.

Re: [libvirt] [PATCHv2 6/6] error: drop old-style error reporting

2012-01-19 Thread Daniel P. Berrange
On Thu, Jan 19, 2012 at 11:44:46AM -0700, Eric Blake wrote: While we still don't want to enable gcc's new -Wformat-literal warning, I found a rather easy case where the warning could be reduced, by getting rid of obsolete error-reporting practices. This is the last place where we were passing