Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 06:51:13 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r280895 - head/tools/regression/aio/kqueue
Message-ID:  <201503310651.t2V6pDMH002261@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Mar 31 06:51:13 2015
New Revision: 280895
URL: https://svnweb.freebsd.org/changeset/base/280895

Log:
  - Fix -Wsign issue
  - Bump up to WARNS=6

Modified:
  head/tools/regression/aio/kqueue/Makefile
  head/tools/regression/aio/kqueue/aio_kqueue.c

Modified: head/tools/regression/aio/kqueue/Makefile
==============================================================================
--- head/tools/regression/aio/kqueue/Makefile	Tue Mar 31 06:50:28 2015	(r280894)
+++ head/tools/regression/aio/kqueue/Makefile	Tue Mar 31 06:51:13 2015	(r280895)
@@ -3,4 +3,8 @@
 PROG=	aio_kqueue
 MAN=
 
+WARNS?=	6
+
+SUBDIR+=	lio
+
 .include <bsd.prog.mk>

Modified: head/tools/regression/aio/kqueue/aio_kqueue.c
==============================================================================
--- head/tools/regression/aio/kqueue/aio_kqueue.c	Tue Mar 31 06:50:28 2015	(r280894)
+++ head/tools/regression/aio/kqueue/aio_kqueue.c	Tue Mar 31 06:51:13 2015	(r280895)
@@ -177,7 +177,7 @@ main (int argc, char *argv[])
 #endif
 			if (result != sizeof(buffer)) {
 				printf("FAIL: run %d, operation %d, result %d "
-				    " (errno=%d) should be %d\n", run, pending,
+				    " (errno=%d) should be %zu\n", run, pending,
 				    result, errno, sizeof(buffer));
 				failed++;
 			} else



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