summaryrefslogtreecommitdiff
path: root/misc/xtar/files/patch-common_str.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
commit0d36ec3c7937d274f501258ddf1798b05e4f33c2 (patch)
treeb35c705d3b36af5129c9a15430528661add3b428 /misc/xtar/files/patch-common_str.c
parentStage net-mgmt/routers2-extras and cleanup (diff)
Rename misc/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363282
Diffstat (limited to 'misc/xtar/files/patch-common_str.c')
-rw-r--r--misc/xtar/files/patch-common_str.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/xtar/files/patch-common_str.c b/misc/xtar/files/patch-common_str.c
new file mode 100644
index 000000000000..8edb7ce39df4
--- /dev/null
+++ b/misc/xtar/files/patch-common_str.c
@@ -0,0 +1,11 @@
+--- ./common/str.c.orig Tue May 9 01:06:46 1995
++++ ./common/str.c Mon Nov 18 01:23:20 2002
+@@ -282,8 +282,6 @@
+ ---------------------------------------------------------------------------*/
+ char *str_error(int errnum)
+ {
+- extern int sys_nerr;
+- extern char *sys_errlist[];
+ static char ebuf[40]; /* 64-bit number + slop */
+
+ if ((unsigned int)errnum < sys_nerr)