From 48ce387ecf4662598b6e4fbcbe8da6f36e929347 Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Sat, 3 Oct 2015 15:23:50 +0200
Subject: [PATCH] Try to get it compiling under Linux.

---
 gtests/net/packetdrill/run_system_call.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index dbf9ef0c..63b93b23 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -1968,8 +1968,7 @@ static int check_sctp_paddrparams(struct sctp_paddrparams_expr *expr,
 	}
 	if (expr->spp_ipv6_flowlabel->type != EXPR_ELLIPSIS) {
 #ifdef linux
-		asprintf(error, "Bad getsockopt linux doesn't support sctp_paddrparams.spp_ipv6_flowlabel",
-			 spp_ipv6_flowlabel, sctp_paddrparams->spp_ipv6_flowlabel);
+		asprintf(error, "Bad getsockopt linux doesn't support sctp_paddrparams.spp_ipv6_flowlabel");
 		return STATUS_ERR;
 #else
 		u32 spp_ipv6_flowlabel;
@@ -1986,8 +1985,7 @@ static int check_sctp_paddrparams(struct sctp_paddrparams_expr *expr,
 #endif
 	if (expr->spp_dscp->type != EXPR_ELLIPSIS) {
 #ifdef linux
-		asprintf(error, "Bad getsockopt linux doesn't support sctp_paddrparams.spp_dscp",
-			 spp_ipv6_flowlabel, sctp_paddrparams->spp_ipv6_flowlabel);
+		asprintf(error, "Bad getsockopt linux doesn't support sctp_paddrparams.spp_dscp");
 		return STATUS_ERR;
 #else
 		u8 spp_dscp;
-- 
GitLab