summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjongmyeongko <jongmyeong.ko@samsung.com>2015-11-27 00:54:05 +0900
committerjongmyeongko <jongmyeong.ko@samsung.com>2015-12-02 16:56:29 +0900
commit13b10c39fff21cbd3633545b0ce3571457d2242b (patch)
tree829d708c972eefb53022c23c57e692a9199a663e
parentffc64b62183c35275d51eecc9cebfbde1f053e9e (diff)
downloadlibeventsystem-13b10c39fff21cbd3633545b0ce3571457d2242b.tar.gz
libeventsystem-13b10c39fff21cbd3633545b0ce3571457d2242b.tar.bz2
libeventsystem-13b10c39fff21cbd3633545b0ce3571457d2242b.zip
Change-Id: Ie78815debd2bc62b6393747320274adcd3b3b519 Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
-rw-r--r--src/eventsystem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eventsystem.c b/src/eventsystem.c
index 4ed3904..1753e7e 100644
--- a/src/eventsystem.c
+++ b/src/eventsystem.c
@@ -393,9 +393,9 @@ static int __get_gdbus_shared_connection(GDBusConnection **connection, GBusType
_E("failed to get guid");
return ES_R_ERROR;
}
- snprintf(own_name, 128, "%s_%s_%s_%d", "event.busname",
+ snprintf(own_name, 128, "%s.%s.id%s_%d_%d", "event.busname",
(bus_type == G_BUS_TYPE_SESSION ? "session" : "system"),
- guid, getpid());
+ guid, getuid(), getpid());
g_free(guid);
_D("bus_name is [%s]", own_name);