[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH hurd] defs: Fix typing of iioctl
From: |
Damien Zammit |
Subject: |
[PATCH hurd] defs: Fix typing of iioctl |
Date: |
Wed, 31 Aug 2022 14:30:56 +0000 |
After much digging this fixes the new routing ioctls
---
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
- [PATCH hurd] defs: Fix typing of iioctl,
Damien Zammit <=