From c6c93234fbc4f6105d7a1cc65960bb3acb70767b Mon Sep 17 00:00:00 2001 From: Chen He Date: Sun, 7 Dec 2014 16:29:14 -0500 Subject: [PATCH] Fix build error in msgs-count.scm mu:run-stats expects the passed-in function to take 3 arguments. The third argument applies to gnuplot only, which is not applicable to the count function in msgs-count.scm. --- guile/scripts/msgs-count.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guile/scripts/msgs-count.scm b/guile/scripts/msgs-count.scm index 407421ef..923e3a58 100755 --- a/guile/scripts/msgs-count.scm +++ b/guile/scripts/msgs-count.scm @@ -26,8 +26,9 @@ exec guile -e main -s $0 $@ (use-modules (mu) (mu script) (mu stats)) -(define (count expr) - "Print the total number of messages matching QUERY." +(define (count expr output) + "Print the total number of messages matching the query EXPR. +OUTPUT is ignored." (display (mu:count expr)) (newline))