diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-02-10 17:02:18 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-02-10 17:02:18 +0100 |
commit | 647e39f172b6beaa07e60c2ed6ceb49017bf9d18 (patch) | |
tree | c4c981247eb56beaa867a33af79d740e1fd735e5 | |
parent | 868a5c4782eeca54bff38f4c74704a12e3a7f8d4 (diff) |
abis_nm: add parenthesis for new abis_nm_debugp_foh() macro
without this, we break e.g. the openbsc build...
-rw-r--r-- | include/osmocom/gsm/abis_nm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/gsm/abis_nm.h b/include/osmocom/gsm/abis_nm.h index e2b941f5..4dee012b 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); |