error: add error_set_errno and error_setg_errno
commit680d16dcb79f999fad3a652c5190d6a5c6ea10dd
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2012 07:00:45 +0000 (2 09:00 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Oct 2012 11:54:55 +0000 (23 13:54 +0200)
treeab13fbe847285bbd18c2e4709cd9f0c04f45f8fd
parentda124e62de2109a312e21d85d6a3419774c58948
error: add error_set_errno and error_setg_errno

These functions help maintaining homogeneous formatting of error
messages that include strerror values.

Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
error.c
error.h