diff options
| author | kernelkinetic <[email protected]> | 2020-09-18 08:52:52 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-18 08:52:52 +0200 |
| commit | 6038c8fdd51204392b9f0bc087b9a3db6da9b663 (patch) | |
| tree | 4f289213fe6fe5b608209890dc2c81af329e3d98 /src | |
| parent | 04406c0f1a0a1d05cc0dfd03e43119c4f7bfdf4d (diff) | |
| download | raylib-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
