summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Dhcp4Dxe
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-07 02:07:42 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit8d774c745c28cf49de20d4f495b3d06fc5b9757f (patch)
treebe0cca3b975e8428dfa9153f0f0ccde004c18601 /NetworkPkg/Dhcp4Dxe
parent788421d5a766a4ce216e99e2277bb11c54e7d0f6 (diff)
downloadedk2-8d774c745c28cf49de20d4f495b3d06fc5b9757f.tar.gz
edk2-8d774c745c28cf49de20d4f495b3d06fc5b9757f.tar.bz2
edk2-8d774c745c28cf49de20d4f495b3d06fc5b9757f.zip
NetworkPkg: Fix a typo
Correctly write 'malformatted' in documentation, comments and debug strings. Cc: Andrew Fish <afish@apple.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-30-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Dhcp4Dxe')
-rw-r--r--NetworkPkg/Dhcp4Dxe/Dhcp4Option.c10
-rw-r--r--NetworkPkg/Dhcp4Dxe/Dhcp4Option.h6
2 files changed, 8 insertions, 8 deletions
diff --git a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c b/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c
index 3adbf55d06..3b077de111 100644
--- a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c
+++ b/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c
@@ -230,7 +230,7 @@ DhcpOptionIsValid (
@param[out] Para The variable to save the interested parameter
@retval EFI_SUCCESS The DHCP option is successfully extracted.
- @retval EFI_INVALID_PARAMETER The DHCP option is mal-formated
+ @retval EFI_INVALID_PARAMETER The DHCP option is malformatted
**/
EFI_STATUS
@@ -303,7 +303,7 @@ DhcpGetParameter (
option.
@retval EFI_SUCCESS All the options are valid
- @retval EFI_INVALID_PARAMETER The options are mal-formated.
+ @retval EFI_INVALID_PARAMETER The options are malformatted.
**/
EFI_STATUS
@@ -538,7 +538,7 @@ DhcpFillOption (
@retval EFI_NOT_FOUND Cannot find any option.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory to parse the packet.
- @retval EFI_INVALID_PARAMETER The options are mal-formated
+ @retval EFI_INVALID_PARAMETER The options are malformatted
@retval EFI_SUCCESS The options are parsed into OptionPoint
**/
@@ -639,7 +639,7 @@ ON_EXIT:
@param[out] Para The variable to save the DHCP parameters.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory to validate the packet.
- @retval EFI_INVALID_PARAMETER The options are mal-formated
+ @retval EFI_INVALID_PARAMETER The options are malformatted
@retval EFI_SUCCESS The options are parsed into OptionPoint
**/
@@ -770,7 +770,7 @@ DhcpAppendOption (
function.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory
- @retval EFI_INVALID_PARAMETER The options in SeekPacket are mal-formated
+ @retval EFI_INVALID_PARAMETER The options in SeekPacket are malformatted
@retval EFI_SUCCESS The packet is build.
**/
diff --git a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h b/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h
index 9e25386507..393176c899 100644
--- a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h
+++ b/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h
@@ -133,7 +133,7 @@ DhcpIterateOptions (
@param[out] Para The variable to save the DHCP parameters.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory to validate the packet.
- @retval EFI_INVALID_PARAMETER The options are mal-formated
+ @retval EFI_INVALID_PARAMETER The options are malformatted
@retval EFI_SUCCESS The options are parsed into OptionPoint
**/
@@ -167,7 +167,7 @@ DhcpValidateOptions (
@retval EFI_NOT_FOUND Cannot find any option.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory to parse the packet.
- @retval EFI_INVALID_PARAMETER The options are mal-formated
+ @retval EFI_INVALID_PARAMETER The options are malformatted
@retval EFI_SUCCESS The options are parsed into OptionPoint
**/
@@ -211,7 +211,7 @@ DhcpAppendOption (
function.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory
- @retval EFI_INVALID_PARAMETER The options in SeekPacket are mal-formated
+ @retval EFI_INVALID_PARAMETER The options in SeekPacket are malformatted
@retval EFI_SUCCESS The packet is build.
**/