From 647e39f172b6beaa07e60c2ed6ceb49017bf9d18 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 10 Feb 2013 17:02:18 +0100 Subject: [PATCH] abis_nm: add parenthesis for new abis_nm_debugp_foh() macro without this, we break e.g. the openbsc build... --- include/osmocom/gsm/abis_nm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/osmocom/gsm/abis_nm.h b/include/osmocom/gsm/abis_nm.h index e2b941f53..4dee012b2 100644 --- a/include/osmocom/gsm/abis_nm.h +++ b/include/osmocom/gsm/abis_nm.h @@ -37,9 +37,9 @@ const char *abis_nm_test_name(uint8_t test); */ #define abis_nm_debugp_foh(ss, foh) \ DEBUGP(ss, "OC=%s(%02x) INST=(%02x,%02x,%02x) ", \ - get_value_string(abis_nm_obj_class_names, foh->obj_class), \ - foh->obj_class, foh->obj_inst.bts_nr, foh->obj_inst.trx_nr, \ - foh->obj_inst.ts_nr) + get_value_string(abis_nm_obj_class_names, (foh)->obj_class), \ + (foh)->obj_class, (foh)->obj_inst.bts_nr, (foh)->obj_inst.trx_nr, \ + (foh)->obj_inst.ts_nr) int abis_nm_chcomb4pchan(enum gsm_phys_chan_config pchan);