projects
/
platform
/
core
/
api
/
common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8635b05
)
add error message for TIZEN_ERROR_NONE
76/55876/1
submit/tizen/20151230.043246
author
Dongyoung Kim
<dydot1.kim@samsung.com>
Wed, 30 Dec 2015 03:04:28 +0000
(12:04 +0900)
committer
Dongyoung Kim
<dydot1.kim@samsung.com>
Wed, 30 Dec 2015 03:05:16 +0000
(12:05 +0900)
Change-Id: Ice3a3de7a2642a3738dcf784e5a271d84995e31b
src/tizen_error.c
patch
|
blob
|
history
diff --git
a/src/tizen_error.c
b/src/tizen_error.c
index
223a075
..
b8e8c11
100644
(file)
--- a/
src/tizen_error.c
+++ b/
src/tizen_error.c
@@
-633,7
+633,10
@@
char *get_error_message(int err_code)
char *tmp = NULL;
memset(msg, 0x00, sizeof(msg));
- if (err_code >= TIZEN_ERROR_OWNER_DEAD && err_code < 0) {
+
+ if (err_code == 0) {
+ strncpy(msg, "Successful", strlen("Successful"));
+ } else if (err_code >= TIZEN_ERROR_OWNER_DEAD && err_code < 0) {
if ((~err_code + 1) == -ENOSYS) {
strncpy(msg, "Invalid operation", strlen("Invalid operation"));
} else {