<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9382">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_alloc: Print bts nr on chan alloc failure<br><br>Change-Id: I51bb656b5fef3247edc63477f391c954c4b28f56<br>---<br>M openbsc/src/libbsc/chan_alloc.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/82/9382/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c</span><br><span>index 52a8259..31a7055 100644</span><br><span>--- a/openbsc/src/libbsc/chan_alloc.c</span><br><span>+++ b/openbsc/src/libbsc/chan_alloc.c</span><br><span>@@ -362,7 +362,8 @@</span><br><span>    } else {</span><br><span>             struct challoc_signal_data sig;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-             LOGP(DRLL, LOGL_ERROR, "Failed to allocate %s channel\n",</span><br><span style="color: hsl(120, 100%, 40%);">+           LOGP(DRLL, LOGL_ERROR, "(bts=%d) Failed to allocate %s channel\n",</span><br><span style="color: hsl(120, 100%, 40%);">+               gsm_ts_and_pchan_name(bts->nr),</span><br><span>                   gsm_lchant_name(type));</span><br><span> </span><br><span>             sig.bts = bts;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9382">change 9382</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9382"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: openbsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I51bb656b5fef3247edc63477f391c954c4b28f56 </div>
<div style="display:none"> Gerrit-Change-Number: 9382 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>