bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH hurd] defs: Fix typing of iioctl


From: Samuel Thibault
Subject: Re: [PATCH hurd] defs: Fix typing of iioctl
Date: Wed, 31 Aug 2022 21:51:05 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le mer. 31 août 2022 14:30:56 +0000, a ecrit:
> After much digging this fixes the new routing ioctls

Applied, thanks!

> ---
>  hurd/iioctl.defs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hurd/iioctl.defs b/hurd/iioctl.defs
> index 6701d8ec7..c1007b2a6 100644
> --- a/hurd/iioctl.defs
> +++ b/hurd/iioctl.defs
> @@ -41,7 +41,7 @@ type ifname_t = array[16] of char;  /* IFNAMSIZ is 16.  */
>  type sockaddr_t = struct[16] of char;        /* sizeof(struct sockaddr) is 
> 16.  */
> 
>  /* This is the struct srtentry from <net/route.h>. */
> -type srtentry_t = struct[40] of char;        /* sizeof(struct srtentry) is 
> 40. */
> +type srtentry_t = struct[10] of int; /* sizeof(struct srtentry) is 40. */
> 
>  skip; skip; skip; skip; /* 0 1 2 3 unused */
>  skip; skip; skip; skip; /* 4 5 6 7 unused */
> --
> 2.34.1
> 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]