aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/ipmi/ipmi-fru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipmi/ipmi-fru.c b/hw/ipmi/ipmi-fru.c
index da866ad..86c9ca0 100644
--- a/hw/ipmi/ipmi-fru.c
+++ b/hw/ipmi/ipmi-fru.c
@@ -77,7 +77,7 @@ static u8 fru_checksum(u8 *buf, int len)
#define FRU_INSERT_STRING(x, y) \
({ rc = fru_insert_string(x, y); \
- if (rc < 1) return OPAL_PARAMETER; rc; })
+ { if (rc < 1) return OPAL_PARAMETER; } rc; })
static int fru_fill_product_info(u8 *buf, struct product_info *info, size_t size)
{