]> xenbits.xensource.com Git - libvirt.git/commit
logging: make VIR_ERROR and friends preserve errno
authorEric Blake <eblake@redhat.com>
Wed, 16 Feb 2011 23:49:15 +0000 (16:49 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 17 Feb 2011 21:03:11 +0000 (14:03 -0700)
commitbb904f45ffd336fba9f86d5700b04c85de4bbd8b
treedf86c61980f0b937feeed07ae81af5896aafef9d
parentce6fd65088c3d81394877cb77932e040398c0676
logging: make VIR_ERROR and friends preserve errno

Followup to commit 17e19add, and would have prevented the bug
independently fixed in commit 76c57a7c.

* src/util/logging.c (virLogMessage): Preserve errno, since
logging should be as unintrusive as possible.
src/util/logging.c