mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 12:12:25 +01:00
- on console error show proper error message
This commit is contained in:
parent
204d2bea86
commit
3e3bcb6af8
@ -3468,7 +3468,7 @@ int glestMain(int argc, char** argv) {
|
||||
|
||||
#ifndef WIN32
|
||||
if(pollresult < 0) {
|
||||
printf("pollresult = %d errno = %d\n",pollresult,pollerror);
|
||||
printf("pollresult = %d errno = %d [%s]\n",pollresult,pollerror,strerror(pollerror));
|
||||
|
||||
cinfd[0].fd = fileno(stdin);
|
||||
cinfd[0].events = POLLIN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user