From: Karel Zak Date: Wed, 6 Oct 2021 09:20:51 +0000 (+0200) Subject: lsfd: function rename X-Git-Tag: v2.38-rc1~144^2~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d18b7b751049e03042900ac372bf9da68a68092e;p=thirdparty%2Futil-linux.git lsfd: function rename Signed-off-by: Karel Zak --- 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);