Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 23:47:58 +0000 (UTC)
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341354 - head/tests/sys/kern
Message-ID:  <201811302347.wAUNlwqD014390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vangyzen
Date: Fri Nov 30 23:47:57 2018
New Revision: 341354
URL: https://svnweb.freebsd.org/changeset/base/341354

Log:
  Maybe make gcc happy
  
  According to Jenkins, the GCC architectures were unhappy because:
  
      sigaltstack.c:82: warning: missing initializer
      sigaltstack.c:82: warning: (near initialization for 'oss.ss_size')
  
  MFC after:	2 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/tests/sys/kern/sigaltstack.c

Modified: head/tests/sys/kern/sigaltstack.c
==============================================================================
--- head/tests/sys/kern/sigaltstack.c	Fri Nov 30 22:44:33 2018	(r341353)
+++ head/tests/sys/kern/sigaltstack.c	Fri Nov 30 23:47:57 2018	(r341354)
@@ -79,7 +79,9 @@ ATF_TC_BODY(ss_onstack, tc)
 	stack_t ss = {
 		.ss_size = SIGSTKSZ,
 	};
-	stack_t oss = {0};
+	stack_t oss = {
+		.ss_size = 0,
+	};
 
 	ss.ss_sp = malloc(ss.ss_size);
 	ATF_REQUIRE(ss.ss_sp != NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811302347.wAUNlwqD014390>