GetRedirContents -> GetFileContents

This commit is contained in:
Glenn Maynard
2005-05-17 02:20:43 +00:00
parent 5c16cabf0d
commit 4e6d716027
5 changed files with 26 additions and 18 deletions
+3 -2
View File
@@ -169,8 +169,9 @@ void Alsa9Buf::GetSoundCardDebugInfo()
if( DoesFileExist("/proc/asound/version") )
{
const CString ver = GetRedirContents("/proc/asound/version");
LOG->Info( "ALSA: %s", ver.c_str() );
CString sVersion;
GetFileContents( "/proc/asound/version", sVersion );
LOG->Info( "ALSA: %s", sVersion.c_str() );
}
InitializeErrorHandler();