diff --git a/0016-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch b/0016-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch new file mode 100644 index 0000000000000000000000000000000000000000..05ad8a0e1ff8818ed01346648ab5957cb9f221f0 --- /dev/null +++ b/0016-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 872801fe626138d5ac0940ceaa27c1765361a6e4..884b2cb1044966a846e5da182c76c56e2c133e2f 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -4,7 +4,7 @@ #Basic Information Name: lxcfs Version: 5.0.4 -Release: 1 +Release: 2 Summary: FUSE filesystem for LXC License: LGPL 2.1+ URL: http://linuxcontainers.org @@ -25,6 +25,7 @@ Patch9012: 0012-lxcfs-adapt-4.18-kernel.patch Patch9013: 0013-enable-cfs-option-to-show-correct-proc-cpuinfo-view.patch Patch9014: 0014-fix-pidfd_open-pidfd_send_signal-function-compilatio.patch Patch9015: 0015-adapt-meson-build-install.patch +Patch9016: 0016-typofix-fix-incorrect-printing-in-lxcfs-help-interfa.patch #Dependency BuildRequires: meson python3-jinja2 help2man @@ -81,6 +82,12 @@ fi %{_unitdir}/* %changelog +* Fri Dec 15 2023 yangjiaqi - 5.0.4-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix incorrect printing in lxcfs help interface + * Thu July 27 2023 yangjiaqi - 5.0.4-1 - Type:bugfix - CVE:NA