From 51e4e43c94c577916cd5976266e15e794d55ea96 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Mar 2026 17:41:10 +0000 Subject: util/nvmutil: tidy up the xopen macro Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 3b71e165..f86e88bf 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -71,7 +71,8 @@ void (*cmd)(void) = NULL; #define xopen(f,l,p) \ if ((f = open(l, p)) == -1) \ err(SET_ERR(ECANCELED), "%s", l); \ - if (fstat(f, &st) == -1) err(SET_ERR(ECANCELED), "%s", l) + if (fstat(f, &st) == -1) \ + err(SET_ERR(ECANCELED), "%s", l) int main(int argc, char *argv[]) -- cgit v1.2.1