qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 01/18] qerror: introduce QERR_GENERIC_ERROR


From: Pavel Hrdina
Subject: [Qemu-devel] [PATCH 01/18] qerror: introduce QERR_GENERIC_ERROR
Date: Wed, 15 Aug 2012 09:41:42 +0200

Signed-off-by: Pavel Hrdina <address@hidden>
---
 qerror.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/qerror.h b/qerror.h
index d0a76a4..7e0bae7 100644
--- a/qerror.h
+++ b/qerror.h
@@ -120,6 +120,9 @@ void assert_no_error(Error *err);
 #define QERR_FEATURE_DISABLED \
     ERROR_CLASS_GENERIC_ERROR, "The feature '%s' is not enabled"
 
+#define QERR_GENERIC_ERROR \
+    ERROR_CLASS_GENERIC_ERROR, "An (Errno %d) error has occurred"
+
 #define QERR_INVALID_BLOCK_FORMAT \
     ERROR_CLASS_GENERIC_ERROR, "Invalid block format '%s'"
 
-- 
1.7.11.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]