You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/10/31 23:09:00 UTC
[2/3] incubator-mynewt-core git commit: rename to use system error
code
rename to use system error code
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/22cc12e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/22cc12e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/22cc12e4
Branch: refs/heads/develop
Commit: 22cc12e4fecda11764d85b84e46e6f827ad54126
Parents: 3f8bc7c
Author: Sterling Hughes <st...@apache.org>
Authored: Mon Oct 31 16:08:39 2016 -0700
Committer: Sterling Hughes <st...@apache.org>
Committed: Mon Oct 31 16:08:39 2016 -0700
----------------------------------------------------------------------
boot/split/src/split.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/22cc12e4/boot/split/src/split.c
----------------------------------------------------------------------
diff --git a/boot/split/src/split.c b/boot/split/src/split.c
index 3a72382..c7aae93 100644
--- a/boot/split/src/split.c
+++ b/boot/split/src/split.c
@@ -86,7 +86,7 @@ int
split_mode_set(split_mode_t split_mode)
{
if (split_mode < 0 || split_mode >= SPLIT_MODE_CNT) {
- return EINVAL;
+ return SYS_EINVAL;
}
split_mode_cur = split_mode;