block: print errno on error
commit3e7896dec40ec5b9a51338fa636a58014d6d3f94
authorJuan Quintela <quintela@redhat.com>
Thu, 4 Mar 2010 09:00:38 +0000 (4 10:00 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Mar 2010 17:23:00 +0000 (9 11:23 -0600)
tree67b9a31c46da28d40d8d393dfb09683df4b3228a
parent3829cb460cff65ca8af956db66b697d96076f8e1
block: print errno on error

Now that we changed all create calls to return errno, just print it.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-img.c