about summary refs log tree commit diff
path: root/stdio-common/tiformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tiformat.c')
-rw-r--r--stdio-common/tiformat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/stdio-common/tiformat.c b/stdio-common/tiformat.c
index 541ea43a0c..bce47665a7 100644
--- a/stdio-common/tiformat.c
+++ b/stdio-common/tiformat.c
@@ -9,7 +9,7 @@ typedef struct {
   const char *format_string;
 } sprint_int_type;
 
-sprint_int_type sprint_ints[] = 
+sprint_int_type sprint_ints[] =
 {
   {__LINE__, 0x000838d2,	"838d2", "%.4x"},
   {__LINE__, 0x0063be46,	"63BE46", "%-6X"},
@@ -5022,6 +5022,9 @@ sprint_int_type sprint_ints[] =
   {__LINE__, 0000123456,	"00123456", "%#.8o"},
   {__LINE__, 0000123456,	"  00123456", "%#10.8o"},
   {__LINE__, 0x00000123,	"0x00123", "%#07x"},
+  {__LINE__, 0x00000000,	"", "%#.0d"},
+  {__LINE__, 0x00000000,	"", "%#.0x"},
+  {__LINE__, 0x00000000,	"0", "%#.0o"},
 
   {0},
 };