mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1159.1.51 (411cb093WisMx6OYUPrSE3N1COOggA)
Fix construction of error message.
This commit is contained in:
1 parent
90434d9229
commit
c9a3d10d21
1 file changed
+2
-3
@@ -198,9 +198,8 @@ class BlkifControllerFactory(controller.ControllerFactory):
|
||||
val = unpackMsg('blkif_be_vbd_grow_t', msg)
|
||||
status = val['status']
|
||||
if status != BLKIF_BE_STATUS_OKAY:
|
||||
raise XendError("Adding extent to vbd failed: device %x, error %d",
|
||||
val['extent.device'],
|
||||
status)
|
||||
raise XendError("Adding extent to vbd failed: device %x, error %d"
|
||||
% (val['extent.device'], status))
|
||||
if self.attached:
|
||||
if d:
|
||||
d.callback(dev)
|
||||
|
||||