<p>osmith <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/16296">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">simtrace2-sniff.c: fix printf usage<br><br>Fixes:<br><br>simtrace2-sniff.c:113:4: error: format not a string literal and no format arguments [-Werror=format-security]<br>    printf(flag_meanings[i].str);<br><br>Change-Id: I9793c680f070e724ce89272e9e489963c7516d52<br>---<br>M host/src/simtrace2-sniff.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/host/src/simtrace2-sniff.c b/host/src/simtrace2-sniff.c</span><br><span>index 7e8e5eb..b2ce4a0 100644</span><br><span>--- a/host/src/simtrace2-sniff.c</span><br><span>+++ b/host/src/simtrace2-sniff.c</span><br><span>@@ -110,7 +110,7 @@</span><br><span>      uint32_t i;</span><br><span>  for (i = 0; i < nb_flags; i++) {</span><br><span>          if (flags & flag_meanings[i].value) {</span><br><span style="color: hsl(0, 100%, 40%);">-                       printf(flag_meanings[i].str);</span><br><span style="color: hsl(120, 100%, 40%);">+                 printf("%s", flag_meanings[i].str);</span><br><span>                        flags &= ~flag_meanings[i].value;</span><br><span>                        if (flags) {</span><br><span>                                 printf(", ");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/16296">change 16296</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/c/simtrace2/+/16296"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9793c680f070e724ce89272e9e489963c7516d52 </div>
<div style="display:none"> Gerrit-Change-Number: 16296 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>