From c106cd402c004c380ca28fd36aee26e34abafc09 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 16 Mar 2017 20:17:40 +0100 Subject: [PATCH] minor printf edits --- srslte/lib/phch/dci.c | 2 +- srslte/lib/phch/pdcch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srslte/lib/phch/dci.c b/srslte/lib/phch/dci.c index 3c2f04856..206d2d289 100644 --- a/srslte/lib/phch/dci.c +++ b/srslte/lib/phch/dci.c @@ -1098,7 +1098,7 @@ int srslte_dci_msg_pack_pdsch(srslte_ra_dl_dci_t *data, srslte_dci_format_t form case SRSLTE_DCI_FORMAT1C: return dci_format1Cs_pack(data, msg, nof_prb); default: - fprintf(stderr, "DCI pack pdsch: Invalid DCI format %s in \n", + fprintf(stderr, "DCI pack pdsch: Invalid DCI format %s\n", srslte_dci_format_string(format)); return SRSLTE_ERROR; } diff --git a/srslte/lib/phch/pdcch.c b/srslte/lib/phch/pdcch.c index 702a5440f..bd3bd2a9a 100644 --- a/srslte/lib/phch/pdcch.c +++ b/srslte/lib/phch/pdcch.c @@ -607,7 +607,7 @@ int srslte_pdcch_encode(srslte_pdcch_t *q, srslte_dci_msg_t *msg, srslte_dci_loc ret = SRSLTE_SUCCESS; } else { - fprintf(stderr, "Illegal DCI message nCCE: %d, L: %d, nof_cce: %d\n", location.ncce, location.L, q->nof_cce); + fprintf(stderr, "Illegal DCI message nCCE: %d, L: %d, nof_cce: %d, nof_bits=%d\n", location.ncce, location.L, q->nof_cce, msg->nof_bits); } } else { fprintf(stderr, "Invalid parameters: cfi=%d, L=%d, nCCE=%d\n", cfi, location.L, location.ncce);