diff options
| author | Russ Cox <rsc@golang.org> | 2014-05-31 09:35:37 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-05-31 09:35:37 -0400 |
| commit | 19c8f67e25dc25abdca34b1ebbfa6ed8439a7071 (patch) | |
| tree | a08f024f283f1213503a7d6ec6492200ea67a512 /src/pkg/runtime/panic.c | |
| parent | a238973949287d6d00a5b014135032dd4e0012fb (diff) | |
| download | go-19c8f67e25dc25abdca34b1ebbfa6ed8439a7071.tar.xz | |
runtime: fix error check in freebsd/386 i386_set_ldt
Update #2675
The code here was using the error check for Linux/386,
not the one for FreeBSD/386. Most of the time it worked.
Thanks to Neel Natu (FreeBSD developer) for finding this.
The s/JCC/JAE/ a few lines later is a no-op but makes the
test match the rest of the file. Why we write JAE instead of JCC
I don't know, but the two are equivalent and the file might
as well be consistent.
LGTM=bradfitz, minux
R=golang-codereviews, bradfitz, minux
CC=golang-codereviews
https://golang.org/cl/99680044
Diffstat (limited to 'src/pkg/runtime/panic.c')
0 files changed, 0 insertions, 0 deletions
