ratbagd: fix return code for SetSpecialMapping (#262)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-07-30 13:23:25 +01:00
committed by Jente Hidskes
parent c361b8500f
commit 811281372b

View File

@@ -144,7 +144,7 @@ static int ratbagd_button_set_special(sd_bus_message *m,
NULL);
}
return r;
return sd_bus_reply_method_return(m, "u", r);
}
static int ratbagd_button_get_key(sd_bus *bus,