From c1147c8df73eb61bc9d66e6628e0369e21f28670 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 11 Jul 2020 17:09:04 +0200 Subject: all: fix comments format Fix capitalization, dots at the end and two spaces after a period. Update #1876 --- pkg/host/syscalls_linux.go | 2 +- pkg/host/syscalls_linux_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/host') diff --git a/pkg/host/syscalls_linux.go b/pkg/host/syscalls_linux.go index 3f16d9ba0..18dc81d9e 100644 --- a/pkg/host/syscalls_linux.go +++ b/pkg/host/syscalls_linux.go @@ -358,7 +358,7 @@ func isSupportedOpenAt(c *prog.Syscall) (bool, string) { modes := []int{syscall.O_RDONLY, syscall.O_WRONLY, syscall.O_RDWR} - // Attempt to extract flags from the syscall description + // Attempt to extract flags from the syscall description. if mode, ok := c.Args[2].Type.(*prog.ConstType); ok { modes = []int{int(mode.Val)} } diff --git a/pkg/host/syscalls_linux_test.go b/pkg/host/syscalls_linux_test.go index 8e9feeba2..3ce2e3517 100644 --- a/pkg/host/syscalls_linux_test.go +++ b/pkg/host/syscalls_linux_test.go @@ -116,7 +116,7 @@ c037c7f8 T sys_getppid []string{"setfsgid", "getpid", "gettid", "getppid"}, []string{"setfsgid", "getpid", "gettid", "getppid"}, }, - // Test kallsymsRenameMap + // Test kallsymsRenameMap. { "ppc64le", []byte(` -- cgit mrf-deployment