[c-host] linux: fix shmDevice file size check

This commit is contained in:
Geoffrey McRae 2019-05-11 11:23:27 +10:00
parent 8a3356859c
commit 9886316e07
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
a12-168-g5677117c0d+1
a12-172-g8a3356859c+1

View File

@ -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);