commit | f9abed0323219922eaa984cad0a34131bb2794b3 | [log] [tgz] |
---|---|---|
author | Deepak Kodihalli <dkodihal@in.ibm.com> | Mon Jul 17 06:23:08 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jul 19 23:01:04 2017 +0000 |
tree | 2aae33926557c640edf7d155866c097748eb171a | |
parent | 64ec3e4541276349ae3e37b5755f7b7e0b69ed31 [diff] |
vpnor: return appropriate return code Return -MBOX_R_SYSTEM_ERROR instead of -1. Change-Id: Id8af94882cafd7b95eef9ee0e73d95c9f2e020f2 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/mboxd_flash_virtual.cpp b/mboxd_flash_virtual.cpp index fb4075f..26fe07a 100644 --- a/mboxd_flash_virtual.cpp +++ b/mboxd_flash_virtual.cpp
@@ -186,7 +186,7 @@ catch (InternalFailure& e) { commit<InternalFailure>(); - rc = -1; + rc = -MBOX_R_SYSTEM_ERROR; } return rc; }