Message ID | 1280345424-12918-3-git-send-email-miguel.filho@gmail.com |
---|---|
State | New |
Headers | show |
Why? I figure the next patch wants it, but if that's the reason, the commit message should state it.
On Fri, Jul 30, 2010 at 6:45 AM, Markus Armbruster <armbru@redhat.com> wrote: > Why? > > I figure the next patch wants it, but if that's the reason, the commit > message should state it. > To better identify what happened and where, IMHO.
Miguel Di Ciurcio Filho <miguel.filho@gmail.com> writes: > On Fri, Jul 30, 2010 at 6:45 AM, Markus Armbruster <armbru@redhat.com> wrote: >> Why? >> >> I figure the next patch wants it, but if that's the reason, the commit >> message should state it. >> > > To better identify what happened and where, IMHO. To let the *next* patch do a better job. That's not obvious from this patch, so better state it.
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; } } }
Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com> --- savevm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)