diff mbox series

gethostname01: Fix docparse format and make check warning

Message ID 20230808154141.23780-1-akumar@suse.de
State Accepted
Headers show
Series gethostname01: Fix docparse format and make check warning | expand

Commit Message

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

Comments

Li Wang Aug. 9, 2023, 10:33 a.m. UTC | #1
Pushed, thanks!
diff mbox series

Patch

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)));
 }