From 83c9eb9c2c7c3288bb897e875f629b63828385e9 Mon Sep 17 00:00:00 2001 From: mahin Date: Wed, 2 Nov 2016 03:50:53 +0800 Subject: [PATCH] =?UTF-8?q?changed=2002hhx=20=E2=80=94>=2002x=20in=20sampl?= =?UTF-8?q?e=5Fx86=5F32=5Fgdt=5Fand=5Fseg=5Fregs.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- samples/sample_x86_32_gdt_and_seg_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sample_x86_32_gdt_and_seg_regs.c b/samples/sample_x86_32_gdt_and_seg_regs.c index c3531619..7e1e260b 100644 --- a/samples/sample_x86_32_gdt_and_seg_regs.c +++ b/samples/sample_x86_32_gdt_and_seg_regs.c @@ -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");