abis_nm: add parenthesis for new abis_nm_debugp_foh() macro

without this, we break e.g. the openbsc build...
This commit is contained in:
Harald Welte 2013-02-10 17:02:18 +01:00
parent 868a5c4782
commit 647e39f172
1 changed files with 3 additions and 3 deletions

View File

@ -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);