mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[c-host] linux: fix shmDevice file size check
This commit is contained in:
parent
8a3356859c
commit
9886316e07
2 changed files with 2 additions and 2 deletions
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
|
||||
{
|
||||
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 a new issue