summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-01 19:13:14 -0600
committerTom Rini <trini@konsulko.com>2023-10-11 15:43:54 -0400
commit657e14da835298a948eb313feffba6732fe9232e (patch)
tree782dfcacaefb736cd317f6e054efd30860e3f396 /drivers/ddr/altera
parente5509ce87b29f773b045200735bec2903b72eed4 (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 <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/altera')
0 files changed, 0 insertions, 0 deletions