diff options
| author | Pierre Gondois <pierre.gondois@arm.com> | 2025-09-18 15:13:00 +0300 |
|---|---|---|
| committer | pierregondois <41638958+pierregondois@users.noreply.github.com> | 2025-10-01 11:02:57 +0300 |
| commit | aa29d51637d75aaf398fc8bda60af9726690615c (patch) | |
| tree | abb3435d5c571ae7c39630e7a991caeb1b495c7b /ShellPkg/DynamicCommand/HttpDynamicCommand | |
| parent | 9ff74659a8ca73cad7c5c1e32823aad9396ac1be (diff) | |
| download | edk2-aa29d51637d75aaf398fc8bda60af9726690615c.tar.xz | |
ShellPkg: Use the newly introduced ShellPrintDefaultEx() alias
Make use the newly introduced ShellPrintDefaultEx() alias and
replace wherever it is possible:
- "ShellPrintEx (-1, -1,"
with:
- "ShellPrintDefaultEx ("
No functional change is introduced.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'ShellPkg/DynamicCommand/HttpDynamicCommand')
| -rw-r--r-- | ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c b/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c index d67f9af3b7..735e463a14 100644 --- a/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c +++ b/ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c @@ -1216,7 +1216,7 @@ SavePortion ( }
if (Context->ContentDownloaded == 0) {
- ShellPrintEx (-1, -1, L"%s 0 Kb", HTTP_PROGR_FRAME);
+ ShellPrintDefaultEx (L"%s 0 Kb", HTTP_PROGR_FRAME);
}
Context->ContentDownloaded += DownloadLen;
@@ -1237,14 +1237,14 @@ SavePortion ( //
// Update downloaded size, there is no length info available.
//
- ShellPrintEx (-1, -1, L"%s", HTTP_KB);
- ShellPrintEx (-1, -1, L"%7d Kb", NbOfKb);
+ ShellPrintDefaultEx (L"%s", HTTP_KB);
+ ShellPrintDefaultEx (L"%7d Kb", NbOfKb);
}
return EFI_SUCCESS;
}
- ShellPrintEx (-1, -1, L"%s", HTTP_PROGRESS_DEL);
+ ShellPrintDefaultEx (L"%s", HTTP_PROGRESS_DEL);
Status = StrCpyS (Progress, HTTP_PROGRESS_MESSAGE_SIZE, HTTP_PROGR_FRAME);
if (EFI_ERROR (Status)) {
@@ -1266,7 +1266,7 @@ SavePortion ( NbOfKb
);
- ShellPrintEx (-1, -1, L"%s", Progress);
+ ShellPrintDefaultEx (L"%s", Progress);
return EFI_SUCCESS;
}
|
