summaryrefslogtreecommitdiffstats
path: root/package/mii-diag/mii-diag-strchr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mii-diag/mii-diag-strchr.patch')
-rw-r--r--package/mii-diag/mii-diag-strchr.patch3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mii-diag/mii-diag-strchr.patch b/package/mii-diag/mii-diag-strchr.patch
index 537c04241..fcfeb3c73 100644
--- a/package/mii-diag/mii-diag-strchr.patch
+++ b/package/mii-diag/mii-diag-strchr.patch
@@ -1,3 +1,6 @@
+Use the strrchr() function instead of the deprecated rindex()
+function.
+
--- mii-diag-2.11.orig/mii-diag.c.orig 2008-06-25 11:08:52.000000000 +1000
+++ mii-diag-2.11.orig/mii-diag.c 2005-03-27 03:56:33.000000000 +1000
@@ -174,7 +174,7 @@