From 464c53b243aa901f7e7934996b0522ac61fa942e Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 24 Jul 2019 12:00:13 +0200 Subject: [PATCH] checksec: fix formatting issue --- srcpkgs/checksec/patches/fix-formating.patch | 50 ++++++++++++++++++++ srcpkgs/checksec/template | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/checksec/patches/fix-formating.patch diff --git a/srcpkgs/checksec/patches/fix-formating.patch b/srcpkgs/checksec/patches/fix-formating.patch new file mode 100644 index 00000000000..a2b323aa484 --- /dev/null +++ b/srcpkgs/checksec/patches/fix-formating.patch @@ -0,0 +1,50 @@ +--- checksec.orig 2019-07-24 11:58:00.684761937 +0200 ++++ checksec 2019-07-24 11:57:40.744760376 +0200 +@@ -1568,11 +1568,11 @@ chk_proc_all () { + (( currpid++ )) + name=$(head -1 "${N}"/status | cut -b 7-) + if [[ $format == "cli" ]]; then +- printf "%16s" "${N}ame" ++ printf "%16s" "${name}" + printf "%7d " "${N}" + else + echo_message "" "${N}," "