Refactor: libcrmcommon: Avoid sprintf() in pcmk__time_format_hr()
We weren't error-checking sprintf() before. Just use
g_string_append_printf() so that the error checking is done for us.
Ref T974
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
Refactor: libcrmcommon: Avoid sprintf() in pcmk__time_format_hr() Tags None Referenced Files None Subscribers None
Description
Details
|