From a94d7433169cbf29b9109c96ac57b99e898e6f17 Mon Sep 17 00:00:00 2001 From: Sheetal Pamecha Date: Mon, 8 Jul 2019 15:09:39 +0530 Subject: posix: fix Wformat-overflow warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: ā€˜%sā€™ directive argument is null Change-Id: I2ce9560f98a8310886c31384e40c2e101ad2c719 updates: bz#1193929 Signed-off-by: Sheetal Pamecha --- xlators/storage/posix/src/posix-helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/storage/posix/src') 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; } -- cgit