Bug 1336511 - trace: compiler warning format string
Summary: trace: compiler warning format string
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: trace
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Krutika Dhananjay
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-16 16:57 UTC by Kaleb KEITHLEY
Modified: 2019-04-17 09:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-17 09:56:50 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kaleb KEITHLEY 2016-05-16 16:57:14 UTC
Description of problem:

Making all in debug
Making all in trace
Making all in src
  CC       trace.lo
trace.c: In function 'trace_writev':
trace.c:2302:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'size_t {aka unsigned int}' [-Wformat=]
                           "%"PRId64": gfid=%s fd=%p, count=%d, "
                           ^~~
  CCLD     trace.la




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Yaniv Kaul 2019-04-17 09:56:50 UTC
[ykaul@ykaul src]$ make
  CC       trace.lo
  CCLD     trace.la


Note You need to log in before you can comment on or make changes to this bug.