]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-bus: insert missing space
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Nov 2023 19:46:24 +0000 (04:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Nov 2023 00:35:44 +0000 (09:35 +0900)
src/libsystemd/sd-bus/bus-error.c

index 7a2303350c2ea14640485df9c0f71323c4988c5e..77b2e1a0fded7537d2a355f50d4a2c63c826df37 100644 (file)
@@ -599,7 +599,7 @@ const char* _bus_error_message(const sd_bus_error *e, int error, char buf[static
 
 static bool map_ok(const sd_bus_error_map *map) {
         for (; map->code != BUS_ERROR_MAP_END_MARKER; map++)
-                if (!map->name || map->code <=0)
+                if (!map->name || map->code <= 0)
                         return false;
         return true;
 }