diff options
author | Sheetal Pamecha <spamecha@redhat.com> | 2019-07-08 15:09:39 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-07-09 11:55:44 +0000 |
commit | a94d7433169cbf29b9109c96ac57b99e898e6f17 (patch) | |
tree | 761cba46040d4f791ebc87b50ba42b705bd97bf2 /xlators | |
parent | d0d77953ed4020a8c7ac87073bd5e6c4743bc961 (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.c | 4 |
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; } |