Skip to content

Commit c8e7769

Browse files
PARKJIHOONandrewc-arm
authored andcommitted
error case prints out using mbed_error_printf()
Signed-off-by: PARKJIHOON <[email protected]>
1 parent 1bae741 commit c8e7769

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_Samsung/security_subsystem/api

1 file changed

+1
-1
lines changed

targets/TARGET_Samsung/security_subsystem/api/trng_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_l
4646
*output_length = (size_t)stRANDOM.u32DataByteLen;
4747

4848
if (ret) {
49-
printf("Fail to get RNG value from SSS(0x%08x)\r\n", ret);
49+
mbed_error_printf("Fail to get RNG value from SSS(0x%08x)\r\n", ret);
5050
}
5151

5252
return ret;

0 commit comments

Comments
 (0)