summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorkernelkinetic <[email protected]>2020-09-18 08:52:52 +0200
committerGitHub <[email protected]>2020-09-18 08:52:52 +0200
commit6038c8fdd51204392b9f0bc087b9a3db6da9b663 (patch)
tree4f289213fe6fe5b608209890dc2c81af329e3d98 /src
parent04406c0f1a0a1d05cc0dfd03e43119c4f7bfdf4d (diff)
downloadraylib-6038c8fdd51204392b9f0bc087b9a3db6da9b663.tar.gz
raylib-6038c8fdd51204392b9f0bc087b9a3db6da9b663.zip
fixed wrong error message for input device on RPI (#1379)
* fixed wrong error message for input device * error message without errnofor input device on RPI to prevent from including additional header Co-authored-by: kkl <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 2b69fc82..72223398 100644
--- a/src/core.c
+++ b/src/core.c
@@ -4661,7 +4661,7 @@ static void EventThreadSpawn(char *device)
fd = open(device, O_RDONLY | O_NONBLOCK);
if (fd < 0)
{
- TRACELOG(LOG_WARNING, "RPI: Failed to open input device (error: %d)", device, worker->fd);
+ TRACELOG(LOG_WARNING, "RPI: Failed to open input device %s", device);
return;
}
worker->fd = fd;