shithub: aubio

Download patch

ref: 6c25201b985bcf6a667f2ec9027185ec09ccc82a
parent: 6f9615c3e875100ef293f2d15eee00b0d97b25e6
author: Paul Brossier <piem@piem.org>
date: Sun Aug 30 10:46:59 EDT 2009

ext/sndfileio.c: shorten sndfile error message

--- a/ext/sndfileio.c
+++ b/ext/sndfileio.c
@@ -46,8 +46,8 @@
         f->handle = sf_open (outputname, SFM_READ, &sfinfo);
 
         if (f->handle == NULL) {
-                AUBIO_ERR("Unable to open input file %s.\n", outputname);
-                AUBIO_ERR("%s\n",sf_strerror (NULL)); /* libsndfile err msg */
+                AUBIO_ERR("Failed opening %s: %s\n", outputname,
+                        sf_strerror (NULL)); /* libsndfile err msg */
                 return NULL;
         }