diff options
| author | Simon Glass <[email protected]> | 2023-10-01 19:13:14 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-10-11 15:43:54 -0400 |
| commit | 657e14da835298a948eb313feffba6732fe9232e (patch) | |
| tree | 782dfcacaefb736cd317f6e054efd30860e3f396 /include | |
| parent | e5509ce87b29f773b045200735bec2903b72eed4 (diff) | |
cli: Terminate the string in cread_line_process_ch()
Rather than relying on the caller, terminate the string inside this
function. Do this each time we return, whether input is finished or
not. It is not needed when the input is aborted, since the string will
be discarded in that case.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
