From 9d451f4578e669c3b84d53dea5522a401f9e4b88 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 8 Apr 2016 20:45:36 -0700 Subject: [PATCH] memfs: memfs-main.c --- tst/memfs/memfs-main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tst/memfs/memfs-main.c b/tst/memfs/memfs-main.c index f2fbb27a..5779ce18 100644 --- a/tst/memfs/memfs-main.c +++ b/tst/memfs/memfs-main.c @@ -114,7 +114,7 @@ int wmain(int argc, wchar_t **argv) case L't': FileInfoTimeout = argtol(++argp, FileInfoTimeout); break; - case L'v': + case L'u': VolumePrefix = argtos(++argp); Flags = MemfsNet; break; @@ -142,8 +142,10 @@ int wmain(int argc, wchar_t **argv) if (!NT_SUCCESS(Result)) fail("error: cannot mount MEMFS"); - warn("%s -t %ld -n %ld -s %ld -v %s %s", - PROGNAME, FileInfoTimeout, MaxFileNodes, MaxFileSize, VolumePrefix, MountPoint); + warn("%s -t %ld -n %ld -s %ld%s%S %S", + PROGNAME, FileInfoTimeout, MaxFileNodes, MaxFileSize, + VolumePrefix ? " -u " : "", VolumePrefix ? VolumePrefix : L"", + MountPoint); SetConsoleCtrlHandler(ConsoleCtrlHandler, TRUE); if (WAIT_OBJECT_0 != WaitForSingleObject(MainEvent, INFINITE)) fail("error: cannot wait on MainEvent");