On 03/18/2013 05:51 PM, Osier Yang wrote:
On 2013年03月18日 15:10, Alex Jia wrote:
>
> Signed-off-by: Alex Jia<ajia(a)redhat.com>
> ---
> libvirt-sandbox/libvirt-sandbox-init-qemu.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/libvirt-sandbox/libvirt-sandbox-init-qemu.c
> b/libvirt-sandbox/libvirt-sandbox-init-qemu.c
> index 38ed284..dfa1374 100644
> --- a/libvirt-sandbox/libvirt-sandbox-init-qemu.c
> +++ b/libvirt-sandbox/libvirt-sandbox-init-qemu.c
> @@ -496,12 +496,16 @@ insmod(const char *filename)
> switch (errno) {
> case ENOEXEC:
> msg = "Invalid module format";
> + break;
> case ENOENT:
> msg = "Unknown symbol in module";
> + break;
> case ESRCH:
> msg = "Module has wrong symbol version";
> + break;
> case EINVAL:
> msg = "Invalid parameters";
> + break;
> default:
> msg = strerror(errno);
> }
ACK
Thanks and push now.