block: eject_device(): Use error_set()
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 7 Dec 2011 17:47:23 +0000 (15:47 -0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 18 Jan 2012 12:23:39 +0000 (10:23 -0200)
commit92d48558edb14666a2851068db4c2095664e0fbc
tree93b6efeb3cd3e2e81f785e98c10b8e80d467a049
parent9ad5372daa3100d78b12aad59054970f15692a90
block: eject_device(): Use error_set()

Also drops the leftover 'mon' argument.

This is a preparation for the next commits which will port the
eject and change commands to the QAPI.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
blockdev.c