summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2011-01-07 06:11:34 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-01-07 17:58:49 -0800
commitf5934192a32a76baa12b7a22035187e63b7fdc1d (patch)
treee87097fb1065351d0c2d6880e50905deed6bee61 /cli/src/cli.c
parent985f87517b7d00afd626f2cc85ca2ab02d33e613 (diff)
Add corresponding va_end.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2247 (Add corresponding va_end) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2247
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index a2e4d71bc..075b7f43d 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -482,6 +482,7 @@ cli_out (const char *fmt, ...)
ret = vprintf (fmt, ap);
printf ("\n");
+ va_end (ap);
return ret;
}