diff options
author | Kyuho Jo <kyuho.jo@samsung.com> | 2015-04-20 22:45:31 +0900 |
---|---|---|
committer | Kyuho Jo <kyuho.jo@samsung.com> | 2015-04-20 22:45:31 +0900 |
commit | 2c0affe92c79d68625ca4ea8d6a3386192850d6f (patch) | |
tree | a5c9dae4416e946abfdb01587b359c633bfc3ae1 | |
parent | a260af755f384387e831a5270b8869b63551c82a (diff) | |
download | notification-2c0affe92c79d68625ca4ea8d6a3386192850d6f.tar.gz notification-2c0affe92c79d68625ca4ea8d6a3386192850d6f.tar.bz2 notification-2c0affe92c79d68625ca4ea8d6a3386192850d6f.zip |
Fix PREVENT issues
Change-Id: Ifcaf7a672732015009047b4b2d3304c5f715de4d
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rwxr-xr-x | src/notification.c | 4 | ||||
-rwxr-xr-x | src/notification_ipc.c | 2 | ||||
-rwxr-xr-x | src/notification_noti.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/notification.c b/src/notification.c index 1ec0a8e..a903d7c 100755 --- a/src/notification.c +++ b/src/notification.c @@ -112,7 +112,7 @@ static char *_notification_get_pkgname_by_pid(void) dup_pkgname = strdup(pkgname); if (!dup_pkgname) - NOTIFICATION_ERR("Heap: %s\n", strerror(errno)); + NOTIFICATION_ERR("Heap: %d\n", errno); return dup_pkgname; } @@ -3123,4 +3123,4 @@ void notification_call_posted_toast_cb(const char *message) if (posted_toast_message_cb != NULL) { posted_toast_message_cb(message); } -}
\ No newline at end of file +} diff --git a/src/notification_ipc.c b/src/notification_ipc.c index bc2024e..ac1391b 100755 --- a/src/notification_ipc.c +++ b/src/notification_ipc.c @@ -339,7 +339,7 @@ static inline char *_dup_string(const char *string) ret = strdup(string); if (!ret) - NOTIFICATION_ERR("Error: %s\n", strerror(errno)); + NOTIFICATION_ERR("Error: %d\n", errno); return ret; } diff --git a/src/notification_noti.c b/src/notification_noti.c index 8423ba5..84df045 100755 --- a/src/notification_noti.c +++ b/src/notification_noti.c @@ -1091,7 +1091,7 @@ EXPORT_API int notification_noti_delete_all(notification_type_e type, const char if (tmp) { *list_deleted_rowid = tmp; } else { - NOTIFICATION_ERR("Heap: %s\n", strerror(errno)); + NOTIFICATION_ERR("Heap: %d\n", errno); /*! * \TODO * How can I handle this? |