From ab7ed3cf2cbc4db58ff94c8e1500dd77287dbacd Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Mon, 3 Jun 2024 20:44:09 +0200 Subject: [PATCH] maint: fix typo in variable name (parse_ls_vga.c) Signed-off-by: Yury V. Zaytsev --- lib/vfs/parse_ls_vga.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/vfs/parse_ls_vga.c b/lib/vfs/parse_ls_vga.c index 3b179ebda..dd304257b 100644 --- a/lib/vfs/parse_ls_vga.c +++ b/lib/vfs/parse_ls_vga.c @@ -60,7 +60,7 @@ static char *columns[MAXCOLS]; /* Points to the string in column n */ static int column_ptr[MAXCOLS]; /* Index from 0 to the starting positions of the columns */ -static size_t vfs_parce_ls_final_num_spaces = 0; +static size_t vfs_parse_ls_final_num_spaces = 0; /* --------------------------------------------------------------------------------------------- */ /*** file scope functions ************************************************************************/ @@ -665,7 +665,7 @@ vfs_split_text (char *p) void vfs_parse_ls_lga_init (void) { - vfs_parce_ls_final_num_spaces = 1; + vfs_parse_ls_final_num_spaces = 1; } /* --------------------------------------------------------------------------------------------- */ @@ -673,7 +673,7 @@ vfs_parse_ls_lga_init (void) size_t vfs_parse_ls_lga_get_final_spaces (void) { - return vfs_parce_ls_final_num_spaces; + return vfs_parse_ls_final_num_spaces; } /* --------------------------------------------------------------------------------------------- */ @@ -816,7 +816,7 @@ vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linknam { *num_spaces = column_ptr[idx] - column_ptr[idx - 1] - strlen (columns[idx - 1]); if (DIR_IS_DOTDOT (columns[idx])) - vfs_parce_ls_final_num_spaces = *num_spaces; + vfs_parse_ls_final_num_spaces = *num_spaces; } for (i = idx + 1, idx2 = 0; i < num_cols; i++)