sysdeps: Correct spelling in <mach/hurd/net/ethernet.h> *HURD
Samuel Thibault
samuel.thibault@ens-lyon.org
Sat Oct 31 01:05:14 GMT 2020
Hello,
Jonny Grant, le mer. 28 oct. 2020 23:10:56 +0000, a ecrit:
> *Note this is the HURD version of the file.
>
> Please find attached patch created against latest git.
Applied, thanks!
> From 587c4c796de97bda1f84ba64caff8b05560d2118 Mon Sep 17 00:00:00 2001
> From: Jonny Grant <jg@jguk.org>
> Date: Wed, 28 Oct 2020 23:09:43 +0000
> Subject: [PATCH] Correct 'ethenet' spelling
>
> Signed-off-by: Jonny Grant <jg@jguk.org>
> ---
> sysdeps/mach/hurd/net/ethernet.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sysdeps/mach/hurd/net/ethernet.h b/sysdeps/mach/hurd/net/ethernet.h
> index 06beb6c9af..d3c0970eb0 100644
> --- a/sysdeps/mach/hurd/net/ethernet.h
> +++ b/sysdeps/mach/hurd/net/ethernet.h
> @@ -56,7 +56,7 @@ struct ether_header
> #define ETHER_MIN_LEN (ETH_ZLEN + ETH_CRC_LEN) /* min packet length */
> #define ETHER_MAX_LEN (ETH_FRAME_LEN + ETH_CRC_LEN) /* max packet length */
>
> -/* make sure ethenet length is valid */
> +/* make sure ethernet length is valid */
> #define ETHER_IS_VALID_LEN(foo) \
> ((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
>
> --
> 2.25.1
>
More information about the Libc-alpha
mailing list