open02.c: remove redundant headers and a typo fix
PATCH 1/1 open02.c: remove redundant headers and a typo fix
Signed-off-by Avinesh Kumar <[email protected]>
--- testcases/kernel/syscalls/open/open02.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
testcases/kernel/syscalls/open/open02.c +1 -6
@@ -13,11 +13,6 @@#define _GNU_SOURCE -#include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <errno.h> -#include <fcntl.h> #include <pwd.h> #include "tst_test.h"
@@ -31,7 +26,7 @@ static struct tcase {const char *desc; } tcases[] = { {TEST_FILE, O_RDWR, ENOENT, "new file without O_CREAT"}, - {TEST_FILE2, O_RDONLY | O_NOATIME, EPERM, "unpriviledget O_RDONLY | O_NOATIME"}, + {TEST_FILE2, O_RDONLY | O_NOATIME, EPERM, "unprivileged O_RDONLY | O_NOATIME"}, }; void setup(void)
Signature · 5 lines
2.36.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Avinesh,
thanks, merged!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp