[LTP] [PATCH] sctputil.c: insert a space between a and datamsg

Sun Lianwen sunlw.fnst@cn.fujitsu.com
Mon May 28 10:16:49 CEST 2018


The sctputil.c:240
tst_brkm(TBROK, tst_exit, "Got a notification, expecting a"
                            "datamsg");
after the word "a" need a space, otherwise the info of TBROK is below:
sctputil.c:241: Got a notification, expecting adatamsg

Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
---
 utils/sctp/testlib/sctputil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/sctp/testlib/sctputil.c b/utils/sctp/testlib/sctputil.c
index 564925ce9..f9d9b22e9 100644
--- a/utils/sctp/testlib/sctputil.c
+++ b/utils/sctp/testlib/sctputil.c
@@ -237,7 +237,7 @@ test_check_buf_data(void *buf, int datalen, int msg_flags,
 		    uint32_t expected_ppid)
 {
 	if (msg_flags & MSG_NOTIFICATION)
-		tst_brkm(TBROK, tst_exit, "Got a notification, expecting a"
+		tst_brkm(TBROK, tst_exit, "Got a notification, expecting a "
 			 "datamsg");
 
 	if (expected_datalen <= 0)
-- 
2.17.0





More information about the ltp mailing list