chiark / gitweb /
Remove a spurious const
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 9 Apr 2026 20:45:15 +0000 (21:45 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 9 Apr 2026 21:45:30 +0000 (22:45 +0100)
This causes build problems with very new glibc.

Closes: #1128749
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
polypath.c

index adac598b3505784f2a3065ad17e49fcb3a15c06f..4e827efa9a0b3ad102bfc134e364ebdac14ed8a9 100644 (file)
@@ -219,7 +219,7 @@ static void polypath_process_monitor_line(struct polypath *st, char *orgl,
 
     char *space=strchr(l,' ');
     if (!space) BAD("no first space");
-    const char *ifname=space+1;
+    char *ifname=space+1;
 
     space=strchr(ifname,' ');
     if (!space) BAD("no second space");