ext/sndfileio.c: shorten sndfile error message
authorPaul Brossier <piem@piem.org>
Sun, 30 Aug 2009 12:46:59 +0000 (14:46 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 30 Aug 2009 12:46:59 +0000 (14:46 +0200)
ext/sndfileio.c

index 1065b40bb2e51ae3951e395a21753ffa559f6a61..ebaa943c1911181366961b59b447f33c474b941d 100644 (file)
@@ -46,8 +46,8 @@ aubio_sndfile_t * new_aubio_sndfile_ro(const char* outputname) {
         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;
         }