<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:01:06 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-6540] too many arguments in a format string in lustre tests, lustre/tests/flock.c</title>
                <link>https://jira.whamcloud.com/browse/LU-6540</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Static analysis with cppcheck found the following issue in lustre/tests/flock.c:&lt;/p&gt;

&lt;p&gt;Checking lustre/tests/flock.c...&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;lustre/tests/flock.c:178&amp;#93;&lt;/span&gt;: (warning) printf format string requires 0 parameters but 1 is given.&lt;/p&gt;

&lt;p&gt;        fd = open(file, O_RDWR|O_CREAT, (mode_t)0666);&lt;br/&gt;
        if (fd &amp;lt; 0) &lt;/p&gt;
{
                printf(&quot;error open file: %m\n&quot;, file);
                exit(-1);
        }

&lt;p&gt;The %m prints strerror(errno),  but there is no %s specifier for the file.  I believe a modern version GCC  will flag this with a warning too.&lt;/p&gt;</description>
                <environment>Ubuntu 15.04, cppcheck static anaysis + GCC 4.9.2</environment>
        <key id="29772">LU-6540</key>
            <summary>too many arguments in a format string in lustre tests, lustre/tests/flock.c</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.whamcloud.com/images/icons/priorities/trivial.svg">Trivial</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="colinianking">Colin Ian King</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Apr 2015 09:02:10 +0000</created>
                <updated>Tue, 14 Mar 2017 17:34:10 +0000</updated>
                            <resolved>Tue, 21 Jul 2015 16:31:43 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="115366" author="gerrit" created="Thu, 14 May 2015 18:42:42 +0000"  >&lt;p&gt;Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14815&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14815&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6540&quot; title=&quot;too many arguments in a format string in lustre tests, lustre/tests/flock.c&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6540&quot;&gt;&lt;del&gt;LU-6540&lt;/del&gt;&lt;/a&gt; test: fix no %s specifier for the file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9de143f62ab1991ff5f9ff70dfafaf1728cc1af7&lt;/p&gt;</comment>
                            <comment id="121830" author="gerrit" created="Tue, 21 Jul 2015 16:22:58 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/14815/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14815/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6540&quot; title=&quot;too many arguments in a format string in lustre tests, lustre/tests/flock.c&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6540&quot;&gt;&lt;del&gt;LU-6540&lt;/del&gt;&lt;/a&gt; test: fix no %s specifier for the file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fb36d989168ea1794c8c0abb387982f857ed647f&lt;/p&gt;</comment>
                            <comment id="121837" author="pjones" created="Tue, 21 Jul 2015 16:31:43 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxc3r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>