user_io: fix info reading.

This commit is contained in:
Sorgelig
2022-04-27 21:53:54 +08:00
parent bd9a50a0e6
commit b0146506c2

View File

@@ -2119,10 +2119,10 @@ static void check_status_change()
static void show_core_info(int info_n)
{
int i = 2;
user_io_read_confstr();
while (1)
{
user_io_read_confstr();
char *p = user_io_get_confstr(i++);
if (!p) break;