summaryrefslogtreecommitdiffstats
path: root/booster/src
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-15 08:07:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-15 07:19:31 -0700
commit7bc96160b977345bda80c09e212d9d9c80243e7f (patch)
treed05a6fd922079f0524d366ca26a0e6e61ce30b7d /booster/src
parent8719f88fc85051b706c0fbf2904ace04435b2b05 (diff)
booster: use appropriate conversion specifier during logging in close.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 262 (crash in booster close due to invalid conversion specifier during logging.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=262
Diffstat (limited to 'booster/src')
-rw-r--r--booster/src/booster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index b5a70c7db41..f3834e11938 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -854,7 +854,7 @@ close (int fd)
int ret = -1;
glusterfs_file_t glfs_fd = 0;
- gf_log ("booster", GF_LOG_DEBUG, "close: fd %s", fd);
+ gf_log ("booster", GF_LOG_DEBUG, "close: fd %d", fd);
glfs_fd = booster_fdptr_get (booster_fdtable, fd);
if (glfs_fd) {