Received: from [140.186.70.92] (port=56836 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeCMs-0002gD-HY for qemu-devel@nongnu.org; Wed, 28 Jul 2010 15:32:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeCJC-000456-DL for qemu-devel@nongnu.org; Wed, 28 Jul 2010 15:28:55 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:38583) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeCJC-00044J-B8 for qemu-devel@nongnu.org; Wed, 28 Jul 2010 15:28:54 -0400 Received: by mail-yw0-f45.google.com with SMTP id 2so1126241ywt.4 for ; Wed, 28 Jul 2010 12:28:54 -0700 (PDT) From: Miguel Di Ciurcio Filho Date: Wed, 28 Jul 2010 16:30:23 -0300 Message-Id: <1280345424-12918-3-git-send-email-miguel.filho@gmail.com> In-Reply-To: <1280345424-12918-1-git-send-email-miguel.filho@gmail.com> References: <1280345424-12918-1-git-send-email-miguel.filho@gmail.com> Subject: [Qemu-devel] [PATCH 2/3] cleanup: del_existing_snapshots() must return the upstream error code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Miguel Di Ciurcio Filho , armbru@redhat.com, lcapitulino@redhat.com Signed-off-by: Miguel Di Ciurcio Filho --- 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