From 585b54c6d82896edb437989018d7749b9fdc5404 Mon Sep 17 00:00:00 2001 From: kpl Date: Wed, 16 Oct 2013 13:14:18 -0700 Subject: [PATCH] cmAudioFile.c: Fixed bug in cmAudioFileCreate() where error msg did not report the name of the audio file which produced the error. --- cmAudioFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmAudioFile.c b/cmAudioFile.c index 11aa3a3..74a2fed 100644 --- a/cmAudioFile.c +++ b/cmAudioFile.c @@ -708,7 +708,7 @@ cmRC_t cmAudioFileCreate( cmAudioFileH_t h, const cmChar_t* fn, double srat ext[i] = toupper(ext[i]); if( strcmp(ext,"AIF") && strcmp(ext,"AIFF") ) - cmRptPrintf(p->err.rpt,"The AIF audio file '%s' is being written with a file extension other than 'AIF' or 'AIFF'."); + cmRptPrintf(p->err.rpt,"The AIF audio file '%s' is being written with a file extension other than 'AIF' or 'AIFF'.",cmStringNullGuard(fn)); cmFsFreePathParts(pp); }