Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 707108b4 authored by John Reck's avatar John Reck
Browse files

Fix memory file constructor

Test: builds
Change-Id: Ib449eac18ca73e5e681190adfbf6b0ab28ee0482
parent ed0cc812
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,8 +56,8 @@ public class MemoryFile {
     */
    public MemoryFile(String name, int length) throws IOException {
        try {
            mMapping = mSharedMemory.mapReadWrite();
            mSharedMemory = SharedMemory.create(name, length);
            mMapping = mSharedMemory.mapReadWrite();
        } catch (ErrnoException ex) {
            ex.rethrowAsIOException();
        }