[LTP] [PATCH 18/21] network/lib6/asapi_06: pcmsg->cmsg_len is of type size_t

Markos Chandras
2012-01-03T13:23:46Z

[-- Attachment #1: Type: text/plain, Size: 49 bytes --]

Hi, please review the attached patch

--
markos

[-- Attachment #2: 0018-network-lib6-asapi_06-pcmsg-cmsg_len-is-of-type-size.patch --]
[-- Type: text/plain, Size: 1026 bytes --]

From a83368f2077913705a54532b48b1bd3634cc9934 Mon Sep 17 00:00:00 2001
From: Markos Chandras <markos.chandras@imgtec.com>
Date: Thu, 22 Dec 2011 15:10:11 +0000
Subject: [PATCH 18/21] network/lib6/asapi_06: pcmsg->cmsg_len is of type size_t

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
testcases/network/lib6/asapi_06.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/network/lib6/asapi_06.c b/testcases/network/lib6/asapi_06.c
index 3808c37..6f4428b 100644
--- a/testcases/network/lib6/asapi_06.c
+++ b/testcases/network/lib6/asapi_06.c
@@ -413,7 +413,7 @@ so_test(struct soent *psoe)
break;
else if (psoe->so_clear) {
tst_resm(TFAIL, "%s receive: extraneous data "
- "in control: level %d type %d len %d",
+ "in control: level %d type %d len %zu",
psoe->so_tname, pcmsg->cmsg_level,
pcmsg->cmsg_type, pcmsg->cmsg_len);
return;
@@ -643,4 +643,4 @@ cleanup(void)
{
TEST_CLEANUP;

-}
\ No newline at end of file
+}
--
1.7.1

[-- Attachment #3: Type: text/plain, Size: 355 bytes --]

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]