Skip to content

Commit

Permalink
amd64: move the right parenthesis to the right place
Browse files Browse the repository at this point in the history
Reviewed by: imp, emaste
Pull Request: freebsd/freebsd-src#1356
  • Loading branch information
wy-chung authored and bsdjhb committed Dec 4, 2024
2 parents c2eef72 + 5d889e6 commit 1aa3db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/amd64/amd64/machdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
*/
for (x = 0; x < NGDT; x++) {
if (x != GPROC0_SEL && x != (GPROC0_SEL + 1) &&
x != GUSERLDT_SEL && x != (GUSERLDT_SEL) + 1)
x != GUSERLDT_SEL && x != (GUSERLDT_SEL + 1))
ssdtosd(&gdt_segs[x], &gdt[x]);
}
gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&pc->pc_common_tss;
Expand Down

0 comments on commit 1aa3db4

Please sign in to comment.