summaryrefslogtreecommitdiff
path: root/net/cap/files/patch-lib-cap-ablog.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/cap/files/patch-lib-cap-ablog.c')
-rw-r--r--net/cap/files/patch-lib-cap-ablog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/cap/files/patch-lib-cap-ablog.c b/net/cap/files/patch-lib-cap-ablog.c
new file mode 100644
index 000000000000..88c1db654032
--- /dev/null
+++ b/net/cap/files/patch-lib-cap-ablog.c
@@ -0,0 +1,11 @@
+--- lib/cap/ablog.c.foo Mon Nov 4 16:43:02 2002
++++ lib/cap/ablog.c Mon Nov 4 16:43:11 2002
+@@ -91,7 +91,7 @@
+ #endif USEVPRINTF
+ int saveerr;
+ extern int errno;
+- extern int sys_nerr;
++ extern __const int sys_nerr;
+ #ifndef __FreeBSD__
+ extern char *sys_errlist[];
+ #endif