From 214e02f97ef8b011f9d3ac9592a8998c0d5f9ab0 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 21 Nov 2017 18:04:06 +0100 Subject: [PATCH] fix bug in FPGA configuration parser code --- lib/fpga/card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fpga/card.c b/lib/fpga/card.c index c0aa3840d..d994e92ef 100644 --- a/lib/fpga/card.c +++ b/lib/fpga/card.c @@ -66,7 +66,7 @@ int fpga_card_parse(struct fpga_card *c, json_t *cfg, const char *name) c->name = strdup(name); - ret = json_unpack_ex(cfg, &err, 0, "{ s?: i, s?: b, s?: o, s?: o, s: o }" + ret = json_unpack_ex(cfg, &err, 0, "{ s?: i, s?: b, s?: o, s?: o, s: o }", "affinity", &c->affinity, "do_reset", &c->do_reset, "slot", &json_slot,