Placate `-Wformat'.
authorLudovic Courtès <ludo@gnu.org>
Tue, 12 Oct 2010 19:59:53 +0000 (21:59 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 12 Oct 2010 22:06:29 +0000 (00:06 +0200)
* module/scripts/compile.scm (fail): Use a fancy format string instead
  of a non-literal one.

module/scripts/compile.scm

index 3e451a6..f3853ff 100644 (file)
@@ -39,8 +39,7 @@
 
 \f
 (define (fail . messages)
-  (format (current-error-port)
-         (string-concatenate `("error: " ,@messages "~%")))
+  (format (current-error-port) "error: ~{~a~}~%" messages)
   (exit 1))
 
 (define %options