[LTP] [PATCH] gethostname01: Fix docparse format and make check warning

Avinesh Kumar akumar@suse.de
Tue Aug 8 17:41:40 CEST 2023


Signed-off-by: Avinesh Kumar <akumar@suse.de>
---
 testcases/kernel/syscalls/gethostname/gethostname01.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/gethostname/gethostname01.c b/testcases/kernel/syscalls/gethostname/gethostname01.c
index ff8c342d8..f2276a38c 100644
--- a/testcases/kernel/syscalls/gethostname/gethostname01.c
+++ b/testcases/kernel/syscalls/gethostname/gethostname01.c
@@ -4,7 +4,7 @@
  * Copyright (c) 2023 SUSE LLC Ioannis Bonatakis <ybonatakis@suse.com>
  */
 
-/*
+/*\
  * [Description]
  *
  * Test is checking that gethostname() succeeds.
@@ -16,6 +16,7 @@
 static void run(void)
 {
 	char hname[100];
+
 	TST_EXP_PASS(gethostname(hname, sizeof(hname)));
 }
 
-- 
2.41.0



More information about the ltp mailing list