bus: driverd; add missing format string parameter

This was causing a nasty coredump
This commit is contained in:
Marc-Antoine Perennou
2013-12-28 15:09:26 +01:00
committed by Lennart Poettering
parent 62ae757009
commit 63b575175e
+1 -1
View File
@@ -346,7 +346,7 @@ static int driver_remove_match(sd_bus *bus, sd_bus_message *message, void *userd
m = hashmap_get(c->matches, normalized);
if (!m) {
r = sd_bus_error_setf(error, SD_BUS_ERROR_MATCH_RULE_NOT_FOUND, "Match rule \"%s\" not found.");
r = sd_bus_error_setf(error, SD_BUS_ERROR_MATCH_RULE_NOT_FOUND, "Match rule \"%s\" not found.", normalized);
goto finish;
}