From d18b7b751049e03042900ac372bf9da68a68092e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 6 Oct 2021 11:20:51 +0200 Subject: [PATCH] lsfd: function rename Signed-off-by: Karel Zak --- misc-utils/lsfd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index 77019489f7..a07b4bcd6a 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -686,7 +686,7 @@ static void fill_column(struct proc *proc, } } -static void convert1(struct proc *proc, +static void convert_file(struct proc *proc, struct file *file, struct libscols_line *ln) @@ -708,7 +708,8 @@ static void convert(struct list_head *procs, struct lsfd_control *ctl) struct libscols_line *ln = scols_table_new_line(ctl->tb, NULL); if (!ln) err(EXIT_FAILURE, _("failed to allocate output line")); - convert1(proc, file, ln); + + convert_file(proc, file, ln); if (!lsfd_filter_apply(ctl->filter, ln)) scols_table_remove_line(ctl->tb, ln); -- 2.47.3