summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/locks/src/posix.c')
-rw-r--r--xlators/features/locks/src/posix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index f08a22d4fc3..17f733a720e 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -3224,7 +3224,7 @@ __dump_entrylks(pl_inode_t *pl_inode)
lock->connection_id, blocked, granted);
}
- gf_proc_dump_write(key, tmp);
+ gf_proc_dump_write(key, "%s", tmp);
count++;
}
@@ -3242,7 +3242,7 @@ __dump_entrylks(pl_inode_t *pl_inode)
lkowner_utoa(&lock->owner), lock->client, lock->connection_id,
blocked);
- gf_proc_dump_write(key, tmp);
+ gf_proc_dump_write(key, "%s", tmp);
count++;
}
@@ -3286,7 +3286,7 @@ __dump_inodelks(pl_inode_t *pl_inode)
lock->client, lock->connection_id,
&lock->granted_time.tv_sec, &lock->blkd_time.tv_sec,
_gf_true);
- gf_proc_dump_write(key, tmp);
+ gf_proc_dump_write(key, "%s", tmp);
count++;
}
@@ -3299,7 +3299,7 @@ __dump_inodelks(pl_inode_t *pl_inode)
pl_dump_lock(tmp, sizeof(tmp), &lock->user_flock, &lock->owner,
lock->client, lock->connection_id, 0,
&lock->blkd_time.tv_sec, _gf_false);
- gf_proc_dump_write(key, tmp);
+ gf_proc_dump_write(key, "%s", tmp);
count++;
}
@@ -3334,7 +3334,7 @@ __dump_posixlks(pl_inode_t *pl_inode)
lock->client, NULL, &lock->granted_time.tv_sec,
&lock->blkd_time.tv_sec,
(lock->blocked) ? _gf_false : _gf_true);
- gf_proc_dump_write(key, tmp);
+ gf_proc_dump_write(key, "%s", tmp);
count++;
}