From 9886316e0743f1072c6972741c1f0b5c3979aa6a Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 11 May 2019 11:23:27 +1000 Subject: [PATCH] [c-host] linux: fix shmDevice file size check --- VERSION | 2 +- c-host/platform/Linux/src/platform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index cc09b5a1..0aa8d57e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -a12-168-g5677117c0d+1 \ No newline at end of file +a12-172-g8a3356859c+1 \ No newline at end of file diff --git a/c-host/platform/Linux/src/platform.c b/c-host/platform/Linux/src/platform.c index 39ce47a6..14607978 100644 --- a/c-host/platform/Linux/src/platform.c +++ b/c-host/platform/Linux/src/platform.c @@ -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);