[libvirt] [PATCH v3 1/2] Allow virReportSystemError to take no optional arguments.
Richard W.M. Jones
rjones at redhat.com
Thu Jan 24 10:10:57 UTC 2013
From: "Richard W.M. Jones" <rjones at redhat.com>
---
src/util/virerror.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/virerror.h b/src/util/virerror.h
index 332a5eb..ac6d746 100644
--- a/src/util/virerror.h
+++ b/src/util/virerror.h
@@ -62,11 +62,11 @@ void virReportSystemErrorFull(int domcode,
const char *fmt, ...)
ATTRIBUTE_FMT_PRINTF(6, 7);
-# define virReportSystemError(theerrno, fmt,...) \
+# define virReportSystemError(theerrno, ...) \
virReportSystemErrorFull(VIR_FROM_THIS, \
(theerrno), \
__FILE__, __FUNCTION__, __LINE__, \
- (fmt), __VA_ARGS__)
+ __VA_ARGS__)
# define virReportInvalidNullArg(argname) \
virRaiseErrorFull(__FILE__, __FUNCTION__, __LINE__, \
--
1.8.1
More information about the libvir-list
mailing list