diff --git a/0024-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch b/0024-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch new file mode 100644 index 0000000000000000000000000000000000000000..05ad8a0e1ff8818ed01346648ab5957cb9f221f0 --- /dev/null +++ b/0024-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch @@ -0,0 +1,26 @@ +From c27c750ba028a65a3d136999e85939dbb9601b06 Mon Sep 17 00:00:00 2001 +From: vegbir +Date: Thu, 14 Dec 2023 07:27:07 +0000 +Subject: [PATCH] typofix: fix incorrect printing in lxcfs help interface + +Signed-off-by: vegbir +--- + src/lxcfs.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lxcfs.c b/src/lxcfs.c +index cb0739c..c55a388 100644 +--- a/src/lxcfs.c ++++ b/src/lxcfs.c +@@ -1181,7 +1181,7 @@ static void usage(void) + lxcfs_info("Options :"); + lxcfs_info(" -d, --debug Run lxcfs with debugging enabled"); + lxcfs_info(" -f, --foreground Run lxcfs in the foreground"); +- lxcfs_info(" -n, --help Print help"); ++ lxcfs_info(" -h, --help Print help"); + lxcfs_info(" -l, --enable-loadavg Enable loadavg virtualization"); + lxcfs_info(" -o Options to pass directly through fuse"); + lxcfs_info(" -p, --pidfile=FILE Path to use for storing lxcfs pid"); +-- +2.41.0 + diff --git a/lxcfs.spec b/lxcfs.spec index ac1721e5ad645137496cc785c20c565890e77264..94962c9a37874ec0d9e48fb27f0c9c152f23434a 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -4,7 +4,7 @@ #Basic Information Name: lxcfs Version: 4.0.11 -Release: 8 +Release: 9 Summary: FUSE filesystem for LXC License: LGPL 2.1+ URL: http://linuxcontainers.org @@ -38,6 +38,7 @@ Patch9020: 0020-enable-cfs-option-to-show-correct-proc-cpuinfo-view.patch Patch9021: 0021-fix-pidfd_open-pidfd_send_signal-function-compilatio.patch Patch9022: 0022-cpuview-fix-possible-use-after-free-in-find_proc_sta.patch Patch9023: 0023-proc-fix-proc-diskstats-output-format.patch +Patch9024: 0024-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch #Dependency BuildRequires: autoconf automake libtool help2man @@ -99,6 +100,12 @@ fi %{_unitdir}/* %changelog +* Fri Dec 15 2023 yangjiaqi - 4.0.11-9 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix incorrect printing in lxcfs help interface + * Wed Mar 22 2023 yangjiaqi - 4.0.11-8 - Type:bugfix - CVE:NA