summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2024-06-05 14:28:10 +0200
committerKarol Lewandowski <k.lewandowsk@samsung.com>2024-06-05 14:52:38 +0200
commit5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d (patch)
treed74b6a3ac17fb17aaefa657f837e863f05bd409b
parent0e048e1fc111bb158c75e41de531e331946e96dc (diff)
downloadsystemd-5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d.tar.gz
systemd-5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d.tar.bz2
systemd-5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d.zip
Fixes: [ 44s] ../src/busctl/busctl.c:1501:72: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types] Change-Id: I643474ba424489cd156bef1eb4b4f13e3c780cb0
-rw-r--r--src/busctl/busctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c
index 2e9df41c71..fa5b3ecc37 100644
--- a/src/busctl/busctl.c
+++ b/src/busctl/busctl.c
@@ -1371,7 +1371,10 @@ static int prepare_connection_kernel(sd_bus *bus, char *argv[])
return 0;
}
-static int message_json(sd_bus_message *m, FILE *f) {
+static int message_json(sd_bus_message *m, FILE *f, Hashmap *hashmap_wkn, sd_bus *bus) {
+ (void)hashmap_wkn;
+ (void)bus;
+
_cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *w = NULL;
char e[2];
int r;