Skip to content

Commit 9b079f7

Browse files
nicola-mazzucato-armstgloorious
authored andcommitted
LIB: tfm_vprintf: Add %i format specifier
Although %d is already present, extend with %i so it is easier to introduce work-in-progress patches. Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com> Change-Id: I9637c514f44bf78c9a4acb3b3a4934fc72c01c8f (cherry picked from commit 18c84d7) Signed-off-by: Stefan Gloor <stefan.gloor@siemens.com>
1 parent 9b4a361 commit 9b079f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tfm_vprintf/src/tfm_vprintf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ static void tfm_vprintf_internal(tfm_log_output_str output_func,
171171
left_aligned, 10, false);
172172
break;
173173
case 'd':
174+
case 'i':
174175
output_val(output_func, priv, va_arg(args, uint32_t), num_padding, zero_padding,
175176
left_aligned, 10, true);
176177
break;

0 commit comments

Comments
 (0)