mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 08:36:28 +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
|
// get the device size
|
||||||
{
|
{
|
||||||
int fd = uioOpenFile(shmDevice, "size");
|
int fd = uioOpenFile(shmDevice, "maps/map0/size");
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("Failed to open %s/size", shmDevice);
|
DEBUG_ERROR("Failed to open %s/size", shmDevice);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user