From 3527c9dae86a52eb1e6d3527eb60f88464e4f86e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 5 May 2004 20:05:09 +0000 Subject: [PATCH] hush harmless warning, fix output --- .../src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp b/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp index 2945c799dc..5e7cdeb147 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp @@ -156,7 +156,8 @@ void MemoryCardDriverThreaded_Linux::MountThreadMain() case 0: // no change. Poll again. continue; case -1: - LOG->Warn( "Error polling" ); + if( errno != EINTR ) + LOG->Warn( "Error polling: %s", strerror(errno) ); continue; } }