summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dhcpcd/files/dhcpcd-9.1.1-typo_fix.patch')
-rw-r--r--net-misc/dhcpcd/files/dhcpcd-9.1.1-typo_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/dhcpcd/files/dhcpcd-9.1.1-typo_fix.patch b/net-misc/dhcpcd/files/dhcpcd-9.1.1-typo_fix.patch
new file mode 100644
index 00000000000..0d97b7f8275
--- /dev/null
+++ b/net-misc/dhcpcd/files/dhcpcd-9.1.1-typo_fix.patch
@@ -0,0 +1,11 @@
+--- dhcpcd-9.1.1/src/if-options.c
++++ dhcpcd-9.1.1/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