summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2022-08-31 14:30:56 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-31 21:50:43 +0200
commitda8d2ba4b61a7d6b25f5b2215447795f2b9badf9 (patch)
treeebae8e15ce8d801df60a45530fb4533799305f32 /hurd
parent298c7dadc6844163dccc8938756093f1e0a3ce05 (diff)
defs: Fix typing of iioctl
After much digging this fixes the new routing ioctls Message-Id: <20220831143032.401732-1-damien@zamaudio.com>
Diffstat (limited to 'hurd')
-rw-r--r--hurd/iioctl.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/iioctl.defs b/hurd/iioctl.defs
index 6701d8ec..c1007b2a 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 */