commit-hurd
[Top][All Lists]
Advanced

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

[hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ


From: Samuel Thibault
Subject: [hurd,commited] hurd: Use IF_NAMESIZE rather than IFNAMSIZ
Date: Wed, 21 Sep 2022 08:53:07 +0200

The latter is not available without __USE_MISC.
---
 sysdeps/mach/hurd/net/route.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h
index 7bbd94fb56..e7c276edf3 100644
--- a/sysdeps/mach/hurd/net/route.h
+++ b/sysdeps/mach/hurd/net/route.h
@@ -68,7 +68,7 @@ struct in6_rtmsg
 
 typedef struct ifrtreq
   {
-    char ifname[IFNAMSIZ];
+    char ifname[IF_NAMESIZE];
     in_addr_t rt_dest;
     in_addr_t rt_mask;
     in_addr_t rt_gateway;
-- 
2.35.1




reply via email to

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