shithub: sox

Download patch

ref: 39c1f29555cf6a4607d4d975767d54154fdda7a6
parent: 0b14426c1d595e13bc1ad71a6697f2ea373ccbf7
author: rrt <rrt>
date: Sun Dec 17 18:51:21 EST 2006

Cosmetic fixes to warnings.

--- a/src/stio.c
+++ b/src/stio.c
@@ -118,7 +118,7 @@
         }
         else if ((ft->fp = fopen(ft->filename, "rb")) == NULL)
         {
-            st_warn("Can't open input file '%s': %s", ft->filename,
+            st_warn("Can't open input file `%s': %s", ft->filename,
                     strerror(errno));
             goto input_error;
         }
@@ -130,7 +130,7 @@
     /* Read and write starters can change their formats. */
     if ((*ft->h->startread)(ft) != ST_SUCCESS)
     {
-        st_warn("Failed reading %s: %s", ft->filename, ft->st_errstr);
+        st_warn("Failed reading `%s': %s", ft->filename, ft->st_errstr);
         goto input_error;
     }