summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSheetal Pamecha <spamecha@redhat.com>2019-07-08 15:09:39 +0530
committerAmar Tumballi <amarts@redhat.com>2019-07-09 11:55:44 +0000
commita94d7433169cbf29b9109c96ac57b99e898e6f17 (patch)
tree761cba46040d4f791ebc87b50ba42b705bd97bf2 /xlators
parentd0d77953ed4020a8c7ac87073bd5e6c4743bc961 (diff)
posix: fix Wformat-overflow warning
warning: ā€˜%sā€™ directive argument is null Change-Id: I2ce9560f98a8310886c31384e40c2e101ad2c719 updates: bz#1193929 Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/storage/posix/src/posix-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c
index 5fa73bff7cd..b3e55e4fd5c 100644
--- a/xlators/storage/posix/src/posix-helpers.c
+++ b/xlators/storage/posix/src/posix-helpers.c
@@ -1861,8 +1861,8 @@ __posix_fd_ctx_get(fd_t *fd, xlator_t *this, struct posix_fd **pfd_p,
if (!fd_is_anonymous(fd)) {
gf_msg(this->name, GF_LOG_ERROR, 0, P_MSG_READ_FAILED,
"Failed to get fd context for a non-anonymous fd, "
- "file: %s, gfid: %s",
- real_path, uuid_utoa(fd->inode->gfid));
+ "gfid: %s",
+ uuid_utoa(fd->inode->gfid));
op_errno = EINVAL;
goto out;
}