diff options
author | jongmyeongko <jongmyeong.ko@samsung.com> | 2015-11-27 00:54:05 +0900 |
---|---|---|
committer | jongmyeongko <jongmyeong.ko@samsung.com> | 2015-12-02 16:56:29 +0900 |
commit | 13b10c39fff21cbd3633545b0ce3571457d2242b (patch) | |
tree | 829d708c972eefb53022c23c57e692a9199a663e | |
parent | ffc64b62183c35275d51eecc9cebfbde1f053e9e (diff) | |
download | libeventsystem-13b10c39fff21cbd3633545b0ce3571457d2242b.tar.gz libeventsystem-13b10c39fff21cbd3633545b0ce3571457d2242b.tar.bz2 libeventsystem-13b10c39fff21cbd3633545b0ce3571457d2242b.zip |
change owning name for dbus policysubmit/tizen/20151206.235943accepted/tizen/wearable/20151207.122140accepted/tizen/tv/20151207.122117accepted/tizen/mobile/20151207.122100
Change-Id: Ie78815debd2bc62b6393747320274adcd3b3b519
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
-rw-r--r-- | src/eventsystem.c | 4 |
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); |