pgpool2.git / summary / log / commit / refs
commit 7b141cf67d259d236efb5c79cfd491fa3d6be752
Author: Toshihiro Kitagawa <kitagawa at sraoss.co.jp>
Date: Tue Aug 17 02:09:00 2010 +0000
Fix typo in debug message.
pool_config.c | 4 ++--
pool_config.l | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pool_config.c b/pool_config.c
index b566493b5..49c03540b 100644
--- a/pool_config.c
+++ b/pool_config.c
@@ -3255,8 +3255,8 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context)
}
}
- pool_debug("num_backends: %d num_backends: %d total_weight: %f",
- pool_config->backend_desc->num_backends, pool_config->backend_desc->num_backends, total_weight);
+ pool_debug("num_backends: %d total_weight: %f",
+ pool_config->backend_desc->num_backends, total_weight);
/*
* Normalize load balacing weights. What we are doing here is,
* assign 0 to RAND_MAX to each backend's weight according to the
diff --git a/pool_config.l b/pool_config.l
index bf0ecf497..dcfeed2ce 100644
--- a/pool_config.l
+++ b/pool_config.l
@@ -1530,8 +1530,8 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context)
}
}
- pool_debug("num_backends: %d num_backends: %d total_weight: %f",
- pool_config->backend_desc->num_backends, pool_config->backend_desc->num_backends, total_weight);
+ pool_debug("num_backends: %d total_weight: %f",
+ pool_config->backend_desc->num_backends, total_weight);
/*
* Normalize load balacing weights. What we are doing here is,
* assign 0 to RAND_MAX to each backend's weight according to the
[parent: 644281a75a2f]