Bug 1336511

Summary: trace: compiler warning format string
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: traceAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 09:56:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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