From 8f66c9fbd068d4f264690a69ec466e4efd770fb6 Mon Sep 17 00:00:00 2001 From: lifubang Date: Tue, 3 Oct 2023 20:08:17 +0800 Subject: [PATCH] fix two typos Signed-off-by: lifubang (cherry picked from commit 109dcadd9d1756258ba0ee096871d11c8581002e) Signed-off-by: lifubang --- libcontainer/seccomp/patchbpf/enosys_linux.go | 2 +- man/runc-update.8.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcontainer/seccomp/patchbpf/enosys_linux.go b/libcontainer/seccomp/patchbpf/enosys_linux.go index 6376512b0..efe6dca58 100644 --- a/libcontainer/seccomp/patchbpf/enosys_linux.go +++ b/libcontainer/seccomp/patchbpf/enosys_linux.go @@ -81,7 +81,7 @@ import "C" var retErrnoEnosys = uint32(C.C_ACT_ERRNO_ENOSYS) // This syscall is used for multiplexing "large" syscalls on s390(x). Unknown -// syscalls will end up with this syscall number, so we need to explcitly +// syscalls will end up with this syscall number, so we need to explicitly // return -ENOSYS for this syscall on those architectures. const s390xMultiplexSyscall libseccomp.ScmpSyscall = 0 diff --git a/man/runc-update.8.md b/man/runc-update.8.md index 8ceaa386f..93a7e566b 100644 --- a/man/runc-update.8.md +++ b/man/runc-update.8.md @@ -41,7 +41,7 @@ In case **-r** is used, the JSON format is like this: # OPTIONS **--resources**|**-r** _resources.json_ -: Read the new resource limtis from _resources.json_. Use **-** to read from +: Read the new resource limits from _resources.json_. Use **-** to read from stdin. If this option is used, all other options are ignored. **--blkio-weight** _weight_