chiark / gitweb /
bus: driverd; add missing format string parameter
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
Sat, 28 Dec 2013 04:54:16 +0000 (13:54 +0900)
committerLennart Poettering <lennart@poettering.net>
Sat, 28 Dec 2013 14:09:26 +0000 (15:09 +0100)
This was causing a nasty coredump

src/bus-driverd/bus-driverd.c

index 57023ec..44172c4 100644 (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;
         }