summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-15 08:04:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-15 07:19:42 -0700
commitce725f84d7d4d40ace9dd7ce5bcc89bdd77ce41d (patch)
tree77db796038ae858a15936004687620b8dfa6bfd8 /booster
parent0141bbb5c7b154affb1210d4f92e9ffab14596c7 (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')
-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 b5a70c7..f3834e1 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) {