void-packages/srcpkgs/dhcpcd/patches/dhcpcd-9.1.1-typo_fix.patch
2020-06-08 21:15:52 +02:00

11 lines
206 B
Diff

--- src/if-options.c
+++ src/if-options.c
@@ -2367,7 +2367,7 @@
}
if (buf[buflen - 1] != '\0') {
if (buflen < sizeof(buf) - 1)
- bulen++;
+ buflen++;
buf[buflen - 1] = '\0';
}
#else