pgpool2.git / summary / log / commit / refs
commit cd8f72b392fad65edd17be389f98180d56985c92
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Sun Jan 18 13:54:28 2009 +0000
Fix FreeBSD case. patch provided by Jun Kuriyama.
ps_status.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ps_status.c b/ps_status.c
index a33fab459..022944cb8 100644
--- a/ps_status.c
+++ b/ps_status.c
@@ -9,7 +9,7 @@
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Portions Copyright (c) 2003-2008 PgPool Global Development Group
+ * Portions Copyright (c) 2003-2009 PgPool Global Development Group
*
*/
/*--------------------------------------------------------------------
@@ -261,10 +261,10 @@ init_ps_display(const char *username, const char *dbname,
#ifdef PS_USE_SETPROCTITLE
/*
- * apparently setproctitle() already adds a `progname:' prefix to the ps
- * line
+ * apparently setproctitle() already adds a `progname: ' prefix to the
+ * ps line
*/
- snprintf(ps_buffer, ps_buffer_size, " ");
+ snprintf(ps_buffer, ps_buffer_size, "");
#else
snprintf(ps_buffer, ps_buffer_size,
"pgpool: ");
[parent: f9b9cd86e4d3]