From 85efb9d860870e1e96c7b344578a79a1a540d5e8 Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Tue, 17 Mar 2015 01:58:10 +0000 Subject: ShellPkg: Fix typo in ShellPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: Jaben Carsey Reviewed-by: Bruce Cran git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17056 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ShellPkg/Library/UefiShellNetwork1CommandsLib') diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c index b8f6728b04..e23588afdb 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c @@ -2,7 +2,7 @@ The implementation for Ping shell command. (C) Copyright 2015 Hewlett-Packard Development Company, L.P.
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -249,11 +249,11 @@ ReadTime ( /** - Get and caculate the frequency in tick/ms. - The result is saved in the globle variable mFrequency + Get and calculate the frequency in ticks/ms. + The result is saved in the global variable mFrequency - @retval EFI_SUCCESS Caculated the frequency successfully. - @retval Others Failed to caculate the frequency. + @retval EFI_SUCCESS Calculated the frequency successfully. + @retval Others Failed to calculate the frequency. **/ EFI_STATUS @@ -279,7 +279,7 @@ GetFrequency ( // // The timer period is in femtosecond (1 femtosecond is 1e-15 second). - // So 1e+12 is divided by timer period to produce the freq in tick/ms. + // So 1e+12 is divided by timer period to produce the freq in ticks/ms. // mFrequency = DivU64x64Remainder (1000000000000ULL, TimerPeriod, NULL); @@ -287,7 +287,7 @@ GetFrequency ( } /** - Caculate a duration in ms. + Calculate a duration in ms. @param[in] Begin The start point of time. @param[in] End The end point of time. -- cgit v1.2.3