changed 02hhx —> 02x in sample_x86_32_gdt_and_seg_regs.c

This commit is contained in:
mahin 2016-11-02 03:50:53 +08:00
parent 04b103164d
commit 83c9eb9c2c

View File

@ -269,7 +269,7 @@ static void gdt_demo()
int i;
for (i = 0; i < 8; i++) {
fprintf(stderr, "%02hhx", buf[i]);
fprintf(stderr, "%02x", buf[i]);
}
fprintf(stderr, "\n");