X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=wdq2wav.cpp;h=90120796e7df159c6ac4b459896e3c03ac29fc0b;hb=94b57dc19edff11caf16bc311d247b899e69f421;hp=326e8d4d270e5aadc8b990ec653a3fb59030edb7;hpb=c3fb0a2a8050d00a6b3edd41731cea3c2ef5886e;p=wdq2wav.git diff --git a/wdq2wav.cpp b/wdq2wav.cpp index 326e8d4..9012079 100644 --- a/wdq2wav.cpp +++ b/wdq2wav.cpp @@ -16,7 +16,7 @@ ** Need command line options for verbose and debug output ** Should comment the reading and writing of files to document the file formats ** -** $Id: wdq2wav.cpp,v 1.2 2003/01/21 03:03:49 kevin Exp $ +** $Id: wdq2wav.cpp,v 1.4 2003/01/21 03:05:03 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -73,7 +73,7 @@ main (int argc, char *argv[]) if (*channel_endptr != 0) { std::ostringstream os; os << "Error: Channel " << argv[2] << " is not an integer"; - error_str (os.str().c_str()); + error_msg (os.str().c_str()); usage(); return(1); } @@ -371,7 +371,7 @@ WavFile::WriteFile () if ((m_fd = open (m_strFile.c_str(), O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) == 0) { std::ostringstream os; - os << "Error opening output file ", << m_strFile.c_str(); + os << "Error opening output file " << m_strFile.c_str(); error_msg (os); return false; }