Fix incorrect variable qualification 74/245774/1
authorMichal Bloch <m.bloch@samsung.com>
Wed, 7 Oct 2020 11:13:49 +0000 (13:13 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 15 Oct 2020 13:11:05 +0000 (15:11 +0200)
Change-Id: Icf878243cbc7dbd89ac261d9c55108296738d7fc

src/crash-service/crash-service.c

index 480253b..655e080 100644 (file)
@@ -250,7 +250,7 @@ static void crash_interface_handler(GDBusConnection *conn,
        _D("crash iface method: %s", method_name);
        if (g_strcmp0(method_name, "livedump_pid") == 0) {
                gchar *dump_reason;
-               const pid_t pid;
+               pid_t pid;
 
                if (g_variant_is_of_type(parameters, G_VARIANT_TYPE("(is)"))) {
                        g_variant_get(parameters, "(is)", &pid, &dump_reason);