Message ID | 20180619052535.24043-4-mikey@neuling.org |
---|---|
State | Accepted |
Headers | show |
Series | [01/18] Make -a the default for probe | expand |
diff --git a/libpdbg/htm.c b/libpdbg/htm.c index a1975448c2..0e5890182e 100644 --- a/libpdbg/htm.c +++ b/libpdbg/htm.c @@ -30,7 +30,7 @@ #include "target.h" #include "debug.h" -#define HTM_ERR(x) ({int rc = x; if (rc) {PR_ERROR("HTM Error %d %s:%d\n", \ +#define HTM_ERR(x) ({int rc = (x); if (rc) {PR_ERROR("HTM Error %d %s:%d\n", \ rc, __FILE__, __LINE__);} \ rc;})
Braces are fun. Signed-off-by: Michael Neuling <mikey@neuling.org> --- libpdbg/htm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)