[SLOF] [PATCH 3/4] Fix typos in the remaining lib folders

Segher Boessenkool segher at kernel.crashing.org
Thu Feb 23 03:12:14 AEDT 2023


On Wed, Feb 22, 2023 at 04:40:56PM +0100, Thomas Huth wrote:
> Found with the "codespell" utility.
> 
> Signed-off-by: Thomas Huth <thuth at redhat.com>

>  /*
> - * The vsnprintf function prints a formated strings into a buffer.
> + * The vsnprintf function prints a formatted strings into a buffer.

"String", singular.

> - * @param  blocknum  block number of the first block that should be transfered
> - * @param  cnt  amount of blocks that should be transfered
> + * @param  blocknum  block number of the first block that should be transferred
> + * @param  cnt  amount of blocks that should be transferred

s/amount/number/

Number is "how many", amount is "how much".

> - * @return number of blocks that have been transfered successfully
> + * @return number of blocks that have been transferred successfully

This got it right, just two lines later, heh.


Segher


More information about the SLOF mailing list