[c-host] linux: fix shmDevice file size check
This commit is contained in:
1 parent
8a3356859c
commit
9886316e07
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user