From e4e2465bcb3c47f9be5708fafa6621c7ae68a00e Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Sat, 14 May 2016 23:52:37 -0700 Subject: [PATCH] memfs: empty Mountpoint ("") now means autodetect (same as no MountPoint) --- tst/memfs/memfs-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tst/memfs/memfs-main.c b/tst/memfs/memfs-main.c index b6ddf019..8d1c1b81 100644 --- a/tst/memfs/memfs-main.c +++ b/tst/memfs/memfs-main.c @@ -90,7 +90,8 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv) goto exit; } - Result = FspFileSystemSetMountPoint(MemfsFileSystem(Memfs), MountPoint); + Result = FspFileSystemSetMountPoint(MemfsFileSystem(Memfs), + MountPoint && MountPoint[0] ? MountPoint : 0); if (!NT_SUCCESS(Result)) { fail(L"cannot mount MEMFS");