diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2011-10-24 17:34:18 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-07-20 20:36:06 +0100 |
commit | 2ef6f69a1bb0b0e15aa3a3a94915d35e3be410fb (patch) | |
tree | d2f55a76848fe7051661c967becef13e4d52c773 /src/libvirt.c | |
parent | Only enforce check for YAJL when starting a VM (diff) | |
download | libvirt-2ef6f69a1bb0b0e15aa3a3a94915d35e3be410fb.tar.gz libvirt-2ef6f69a1bb0b0e15aa3a3a94915d35e3be410fb.tar.bz2 libvirt-2ef6f69a1bb0b0e15aa3a3a94915d35e3be410fb.zip |
Report 'errno' in int1 field of virErrorPtr
When reporting a system error (VIR_ERR_SYSTEM_ERROR) via
virReportSystemError, we should copy the errno value into
the 'int1' field of the virErrorPtr struct. This allows
callers to detect certain errno conditions & discard the
error
* src/util/virterror.c: Place errno value in int1 field
Diffstat (limited to 'src/libvirt.c')
0 files changed, 0 insertions, 0 deletions