error case prints out using mbed_error_printf()

Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
pull/12106/head
PARKJIHOON 2020-01-11 01:25:12 +09:00 committed by Andrew Chong
parent 1bae74160f
commit c8e776929a
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_l
*output_length = (size_t)stRANDOM.u32DataByteLen;
if (ret) {
printf("Fail to get RNG value from SSS(0x%08x)\r\n", ret);
mbed_error_printf("Fail to get RNG value from SSS(0x%08x)\r\n", ret);
}
return ret;