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
  • Loading branch information
wy-chung committed Aug 2, 2024
1 parent 6d86bdf commit 61941f3
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;

Check warning on line 1388 in sys/amd64/amd64/machdep.c

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line

Check warning on line 1388 in sys/amd64/amd64/machdep.c

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line

Check warning on line 1388 in sys/amd64/amd64/machdep.c

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line

Check warning on line 1388 in sys/amd64/amd64/machdep.c

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line
Expand Down

0 comments on commit 61941f3

Please sign in to comment.