summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/nano-vfscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/nano-vfscanf.c')
-rw-r--r--newlib/libc/stdio/nano-vfscanf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index cc2fdf195..5ba00f797 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -375,6 +375,7 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
case 'p':
scan_data.flags |= POINTER;
case 'x':
+ case 'X':
scan_data.flags |= PFXOK;
scan_data.base = 16;
goto number;