<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18982">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_dahdi.c: Resolve a format-truncation build warning.<br><br>> chan_dahdi.c:4129:18: error: ā%sā directive output may be truncated<br>> writing up to 255 bytes into a region of size between 242 and 252<br>> [-Werror=format-truncation=]<br><br>Change-Id: I2d276785286730d3d5d0a921bcea2e065dbf27c5<br>---<br>M channels/chan_dahdi.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/82/18982/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c</span><br><span>index 253c647..7353634 100644</span><br><span>--- a/channels/chan_dahdi.c</span><br><span>+++ b/channels/chan_dahdi.c</span><br><span>@@ -4128,7 +4128,7 @@</span><br><span> {</span><br><span> #define CHAN_TAG "Chan "</span><br><span> char logmsg[256];</span><br><span style="color: hsl(0, 100%, 40%);">- char completemsg[sizeof(logmsg) + sizeof(CHAN_TAG) - 1];</span><br><span style="color: hsl(120, 100%, 40%);">+ char completemsg[sizeof(logmsg) + sizeof(CHAN_TAG "4294967295 - ") - 1];</span><br><span> vsnprintf(logmsg, sizeof(logmsg), fmt, ap);</span><br><span> snprintf(completemsg, sizeof(completemsg), CHAN_TAG "%d - %s", openr2_chan_get_number(r2chan), logmsg);</span><br><span> dahdi_r2_write_log(level, completemsg);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18982">change 18982</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/18982"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I2d276785286730d3d5d0a921bcea2e065dbf27c5 </div>
<div style="display:none"> Gerrit-Change-Number: 18982 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>