summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-03-23 17:13:45 +0000
committerjake <jake@FreeBSD.org>2002-03-23 17:13:45 +0000
commitf739cf3a06e675b79da5438e945b97e8a2bdb9a5 (patch)
tree7fa8b9f13884ba2a3ff1b9b1a1cd8a1410695139
parentd3b53df960924996c0a420e03030ee5534fd0f77 (diff)
downloadFreeBSD-src-f739cf3a06e675b79da5438e945b97e8a2bdb9a5.zip
FreeBSD-src-f739cf3a06e675b79da5438e945b97e8a2bdb9a5.tar.gz
Machine must be non-static for COMPAT_43 to compile. This is used in bsd/os
1.x compatibility code, which I'm sure we all use every day.
-rw-r--r--sys/sparc64/sparc64/identcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/identcpu.c b/sys/sparc64/sparc64/identcpu.c
index 6597cdd..5173c7e 100644
--- a/sys/sparc64/sparc64/identcpu.c
+++ b/sys/sparc64/sparc64/identcpu.c
@@ -17,7 +17,7 @@
#include <machine/md_var.h>
#include <machine/ver.h>
-static char machine[] = "sparc64";
+char machine[] = "sparc64";
SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD,
machine, 0, "Machine class");
OpenPOWER on IntegriCloud