Revise code
[platform/core/multimedia/libmm-sound.git] / server / mm_sound_mgr_ipc_dbus.c
index 145e85e..7bf2242 100644 (file)
@@ -226,14 +226,14 @@ static int _get_sender_pid(GDBusMethodInvocation* invocation)
        connection = g_dbus_method_invocation_get_connection(invocation);
        sender = g_dbus_method_invocation_get_sender(invocation);
 
-       debug_error("connection = %p, sender = %s", connection, sender);
+       debug_log("connection = %p, sender = %s", connection, sender);
 
        value = g_dbus_connection_call_sync(connection, "org.freedesktop.DBus", "/org/freedesktop/DBus",
                                                                                "org.freedesktop.DBus", "GetConnectionUnixProcessID",
                                                                                g_variant_new("(s)", sender, NULL), NULL, G_DBUS_CALL_FLAGS_NONE, -1, NULL, &err);
        if (value) {
                g_variant_get(value, "(u)", &pid);
-               debug_msg("Sender PID = [%d]", pid);
+               debug_log("Sender PID = [%d]", pid);
                g_variant_unref(value);
        } else {
                debug_error("err code = %d, err msg = %s", err->code, err->message);