diff options
Diffstat (limited to 'xlators/features/locks/src/posix.c')
| -rw-r--r-- | xlators/features/locks/src/posix.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index 6b67f7ece94..917eacee8da 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -3248,7 +3248,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++;          } @@ -3266,7 +3266,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++;          } @@ -3310,7 +3310,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++;          } @@ -3323,7 +3323,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++;          } @@ -3358,7 +3358,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++;      }  | 
