From 63b575175efb60d6c51bae6a91be7547153fdd8d Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Sat, 28 Dec 2013 13:54:16 +0900 Subject: bus: driverd; add missing format string parameter This was causing a nasty coredump --- src/bus-driverd/bus-driverd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bus-driverd/bus-driverd.c b/src/bus-driverd/bus-driverd.c index 57023ec877..44172c4ed6 100644 --- a/src/bus-driverd/bus-driverd.c +++ b/src/bus-driverd/bus-driverd.c @@ -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; } -- cgit v1.2.3-54-g00ecf