better output

This commit is contained in:
Glenn Maynard
2003-12-19 08:09:58 +00:00
parent eabde11478
commit 2d01ba7d00
2 changed files with 5 additions and 11 deletions
@@ -16,7 +16,7 @@ MemoryCardDriver_Linux::MemoryCardDriver_Linux()
m_lastModTime = 0;
m_fds = open(USB_DEVICE_LIST_FILE, O_RDONLY);
if( m_fds == -1 )
LOG->Warn( "Failed to open '%s'", USB_DEVICE_LIST_FILE );
LOG->Warn( "Failed to open \"%s\": %s", USB_DEVICE_LIST_FILE, strerror(errno) );
}
MemoryCardDriver_Linux::~MemoryCardDriver_Linux()