diff --git a/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c b/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c index 37afefd80b..d67f9af3b7 100644 --- a/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c +++ b/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c @@ -1690,7 +1690,7 @@ GetResponse ( if (!EFI_ERROR (gRT->GetTime (&EndTime, NULL))) { ElapsedSeconds = EfiTimeToEpoch (&EndTime) - EfiTimeToEpoch (&StartTime); Print ( - L",%a%Lus\n", + L",%a%Lus", ElapsedSeconds ? " " : " < ", ElapsedSeconds > 1 ? (UINT64)ElapsedSeconds : 1 );