mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[c-host] linux: fix shmDevice file size check
This commit is contained in:
parent
8a3356859c
commit
9886316e07
@ -222,7 +222,7 @@ bool app_init()
|
||||
|
||||
// get the device size
|
||||
{
|
||||
int fd = uioOpenFile(shmDevice, "size");
|
||||
int fd = uioOpenFile(shmDevice, "maps/map0/size");
|
||||
if (fd < 0)
|
||||
{
|
||||
DEBUG_ERROR("Failed to open %s/size", shmDevice);
|
||||
|
Loading…
Reference in New Issue
Block a user