shithub: sox

Download patch

ref: ed4bb590c611e4310b9540efb5049a7025c36325
parent: 24d4bb8b96debd999d0451e5a319c45a581ddff1
author: Ulrich Klauer <ulrich@chirlu.de>
date: Sun Jan 8 19:06:50 EST 2012

Use lsx_fail instead of a plain printf

--- a/src/sox.c
+++ b/src/sox.c
@@ -911,7 +911,7 @@
         /* Make sure first option is an effect name. */
         if (!sox_find_effect(argv[0]) && !is_pseudo_effect(argv[0]))
         {
-          printf("Cannot find an effect called `%s'.\n", argv[0]);
+          lsx_fail("Cannot find an effect called `%s'.", argv[0]);
           exit(1);
         }