From abc2bc5f830a8b5959c5919355076e5df1d77153 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 29 Jan 2023 16:23:47 -0600 Subject: [PATCH] Update: Use f_file_stream_read() instead of f_file_read() after opening as a stream. --- level_3/fake/c/private-fake.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/level_3/fake/c/private-fake.c b/level_3/fake/c/private-fake.c index bb858cc..09b19b7 100644 --- a/level_3/fake/c/private-fake.c +++ b/level_3/fake/c/private-fake.c @@ -124,12 +124,12 @@ extern "C" { status = F_true; } - name_function = "f_file_open"; + name_function = "f_file_stream_open"; status = f_file_stream_open(path_file, f_string_empty_s, &file); if (F_status_is_error_not(status)) { - name_function = "f_file_read"; - status = f_file_read(file, buffer); + name_function = "f_file_stream_read"; + status = f_file_stream_read(file, buffer); f_file_stream_close(F_true, &file); } -- 1.8.3.1