sysman: fix _E macro to ERR macro 82/55982/1
authorTaeyoung Kim <ty317.kim@samsung.com>
Wed, 30 Dec 2015 23:41:42 +0000 (08:41 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Wed, 30 Dec 2015 23:43:33 +0000 (08:43 +0900)
_E is used in the deviced, not int the sysman.
Thus the macro is fixed to ERR which is defined
in sysman

Change-Id: I34dc363fc6f6ef203cb506dab957bd835a64dca6
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
src/libsysman/sysman-util.c

index 69ebf1b..91f52cd 100644 (file)
@@ -94,7 +94,7 @@ API int sysman_get_cmdline_name(pid_t pid, char *cmdline, size_t cmdline_size)
        close(fd);
        if (ret < 0) {
                ret = -errno;
-               _E("read() failed (%d)", ret);
+               ERR("read() failed (%d)", ret);
                return ret;
        }
        buf[PATH_MAX] = '\0';