Merge pull request #673 from chubbymaggie/master

changed '%02hhx' to '%02x' in sample_x86_32_gdt_and_seg_regs.c
This commit is contained in:
Nguyen Anh Quynh 2016-11-02 08:36:35 +08:00 committed by GitHub
commit 1cbf6bf8fc

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");