mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-04 21:51:08 +00:00
[c-host] linux: fix shmDevice file size check
This commit is contained in:
parent
8a3356859c
commit
9886316e07
2
VERSION
2
VERSION
@ -1 +1 @@
|
|||||||
a12-168-g5677117c0d+1
|
a12-172-g8a3356859c+1
|
@ -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