From 32007577a01db2c97e62623566a3e4f356373420 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 8 Apr 2016 16:59:24 -0700 Subject: [PATCH] memfs: memfs-main.c --- tst/memfs/memfs-main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tst/memfs/memfs-main.c b/tst/memfs/memfs-main.c index fbed4fba..e86f220c 100644 --- a/tst/memfs/memfs-main.c +++ b/tst/memfs/memfs-main.c @@ -68,11 +68,15 @@ int wmain(int argc, wchar_t **argv) Result = MemfsStart(Memfs); if (!NT_SUCCESS(Result)) fail("error: cannot start MEMFS"); + Result = FspFileSystemSetMountPoint(MemfsFileSystem(Memfs), MountPoint); + if (!NT_SUCCESS(Result)) + fail("error: cannot mount MEMFS"); SetConsoleCtrlHandler(ConsoleCtrlHandler, TRUE); if (WAIT_OBJECT_0 != WaitForSingleObject(MainEvent, INFINITE)) fail("error: cannot wait on MainEvent"); + FspFileSystemRemoveMountPoint(MemfsFileSystem(Memfs)); MemfsStop(Memfs); MemfsDelete(Memfs);