Bug 1336510
| Summary: | posix: compiler warning format string | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Kaleb KEITHLEY <kkeithle> |
| Component: | posix | Assignee: | Ravishankar N <ravishankar> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | atumball, 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: | 2018-10-08 11:05:17 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: | |||
fixed on master! should be available on glusterfs-5.0 |
Description of problem: Making all in storage Making all in posix Making all in src CC posix.lo CC posix-aio.lo CC posix-handle.lo CC posix-helpers.lo In file included from ../../../../libglusterfs/src/glusterfs.h:35:0, from posix.c:38: posix.c: In function 'posix_rchecksum': posix.c:6366:33: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'ssize_t {aka int}' [-Wformat=] "pread of %d bytes returned %ld ", ^ ../../../../libglusterfs/src/logging.h:213:51: note: in definition of macro 'gf_msg' levl, errnum, 0, msgid, ##fmt); \ ^~~ CCLD posix.la Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: