[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/3] cleanup: del_existing_snapshots() must return t
From: |
Miguel Di Ciurcio Filho |
Subject: |
[Qemu-devel] [PATCH 2/3] cleanup: del_existing_snapshots() must return the upstream error code |
Date: |
Wed, 28 Jul 2010 16:30:23 -0300 |
Signed-off-by: Miguel Di Ciurcio Filho <address@hidden>
---
savevm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/savevm.c b/savevm.c
index 6c6adb0..fb38e8a 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1775,7 +1775,7 @@ static int del_existing_snapshots(Monitor *mon, const
char *name)
monitor_printf(mon,
"Error while deleting snapshot on '%s'\n",
bdrv_get_device_name(bs));
- return -1;
+ return ret;
}
}
}
--
1.7.1