Adding extra logs
[platform/core/pim/contacts-service.git] / server / ctsvc_server_socket.c
index 51ab63e..fa90a18 100644 (file)
@@ -525,7 +525,7 @@ int ctsvc_server_socket_init(void)
        ret = chown(sock_file, getuid(), CTS_SECURITY_FILE_GROUP);
        if (0 != ret)
                /* LCOV_EXCL_START */
-               ERR("chown(%s) Fail(%d)", sock_file, ret);
+               ERR("chown(%s) Fail(%d) errno = %d", sock_file, ret, errno);
        /* LCOV_EXCL_STOP */
 
        ret = chmod(sock_file, CTS_SECURITY_DEFAULT_PERMISSION);