diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2013-06-07 17:10:28 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2013-07-10 11:07:31 +0200 |
commit | dc6f2dadace3fcbe184b163dfca4f663e2a468d3 (patch) | |
tree | bd7bd73400167333b724dea7aaa5f6e4189b7a21 /tests/domainsnapshotxml2xmltest.c | |
parent | 8290cbbc389c339b5a5ee603ed79d4c7389922ed (diff) | |
download | libvirt-dc6f2dadace3fcbe184b163dfca4f663e2a468d3.tar.gz |
Introduce OOM reporting to virAsprintf
Actually, I'm turning this function into a macro as filename,
function name and line number needs to be passed. The new
function virAsprintfInternal is introduced with the extended set
of arguments.
Diffstat (limited to 'tests/domainsnapshotxml2xmltest.c')
-rw-r--r-- | tests/domainsnapshotxml2xmltest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/domainsnapshotxml2xmltest.c b/tests/domainsnapshotxml2xmltest.c index 9eddf458fe..defa9553e4 100644 --- a/tests/domainsnapshotxml2xmltest.c +++ b/tests/domainsnapshotxml2xmltest.c @@ -18,6 +18,8 @@ # include "testutilsqemu.h" # include "virstring.h" +# define VIR_FROM_THIS VIR_FROM_NONE + static virQEMUDriver driver; static int |