summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-05-29 05:09:15 +0000
committermarcel <marcel@FreeBSD.org>2003-05-29 05:09:15 +0000
commitc050190f4872533abc1c4d29dcbd7f19c42cd0ef (patch)
treee896841242032cae84950fc49ec0a4c298381b1f /sys/ia64
parent09778f8cad2dbf8ed0c95fd3d27e1e1984873aeb (diff)
downloadFreeBSD-src-c050190f4872533abc1c4d29dcbd7f19c42cd0ef.zip
FreeBSD-src-c050190f4872533abc1c4d29dcbd7f19c42cd0ef.tar.gz
Fix what I think is a cut-n-paste bug: use OID_AUTO for the
print_usertrap sysctl instead of CPU_UNALIGNED_PRINT. The latter is used already. Approved by: re@ (blanket)
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index 622da64..c70726a 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -76,7 +76,7 @@
#endif
static int print_usertrap = 0;
-SYSCTL_INT(_machdep, CPU_UNALIGNED_PRINT, print_usertrap,
+SYSCTL_INT(_machdep, OID_AUTO, print_usertrap,
CTLFLAG_RW, &print_usertrap, 0, "");
extern int unaligned_fixup(struct trapframe *framep, struct thread *td);
OpenPOWER on IntegriCloud