diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-07-18 11:50:44 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-07-18 19:01:50 +0100 |
commit | 1e0bb184a72f3af79cba2d3ece3b10dc8406c987 (patch) | |
tree | a0fee9e0fc20d270e188d7b27b26ef547190e9ad /src/secret | |
parent | Add missing _(...) around 2 error messages in test driver (diff) | |
download | libvirt-1e0bb184a72f3af79cba2d3ece3b10dc8406c987.tar.gz libvirt-1e0bb184a72f3af79cba2d3ece3b10dc8406c987.tar.bz2 libvirt-1e0bb184a72f3af79cba2d3ece3b10dc8406c987.zip |
Convert all files in src/conf/ to use virReportError()
This removes all the per-file error reporting macros
from the code in src/conf/
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'src/secret')
-rw-r--r-- | src/secret/secret_driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/secret/secret_driver.c b/src/secret/secret_driver.c index 49ca29b6e..cf2315a55 100644 --- a/src/secret/secret_driver.c +++ b/src/secret/secret_driver.c @@ -45,6 +45,10 @@ #define VIR_FROM_THIS VIR_FROM_SECRET +#define virSecretReportError(code, ...) \ + virReportErrorHelper(VIR_FROM_SECRET, code, __FILE__, \ + __FUNCTION__, __LINE__, __VA_ARGS__) + enum { SECRET_MAX_XML_FILE = 10*1024*1024 }; /* Internal driver state */ |