From owner-svn-src-stable@freebsd.org Mon Apr 16 16:27:08 2018 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEC10F90EFE; Mon, 16 Apr 2018 16:27:08 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AFED71D41; Mon, 16 Apr 2018 16:27:08 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 740EE1FC1F; Mon, 16 Apr 2018 16:27:08 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3GGR8fl099283; Mon, 16 Apr 2018 16:27:08 GMT (envelope-from asomers@FreeBSD.org) Received: (from asomers@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3GGR8nw099281; Mon, 16 Apr 2018 16:27:08 GMT (envelope-from asomers@FreeBSD.org) Message-Id: <201804161627.w3GGR8nw099281@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: asomers set sender to asomers@FreeBSD.org using -f From: Alan Somers Date: Mon, 16 Apr 2018 16:27:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332605 - stable/11/libexec/rpc.sprayd X-SVN-Group: stable-11 X-SVN-Commit-Author: asomers X-SVN-Commit-Paths: stable/11/libexec/rpc.sprayd X-SVN-Commit-Revision: 332605 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 16:27:09 -0000 Author: asomers Date: Mon Apr 16 16:27:08 2018 New Revision: 332605 URL: https://svnweb.freebsd.org/changeset/base/332605 Log: MFC r330514: rpc.sprayd: raise WARNS to 6 Modified: stable/11/libexec/rpc.sprayd/Makefile stable/11/libexec/rpc.sprayd/sprayd.c Directory Properties: stable/11/ (props changed) Modified: stable/11/libexec/rpc.sprayd/Makefile ============================================================================== --- stable/11/libexec/rpc.sprayd/Makefile Mon Apr 16 16:25:42 2018 (r332604) +++ stable/11/libexec/rpc.sprayd/Makefile Mon Apr 16 16:27:08 2018 (r332605) @@ -6,6 +6,4 @@ MAN = rpc.sprayd.8 LIBADD= rpcsvc -WARNS?= 2 - .include Modified: stable/11/libexec/rpc.sprayd/sprayd.c ============================================================================== --- stable/11/libexec/rpc.sprayd/sprayd.c Mon Apr 16 16:25:42 2018 (r332604) +++ stable/11/libexec/rpc.sprayd/sprayd.c Mon Apr 16 16:27:08 2018 (r332605) @@ -61,21 +61,21 @@ static int from_inetd = 1; #define TIMEOUT 120 -void +static void cleanup(int sig __unused) { (void)rpcb_unset(SPRAYPROG, SPRAYVERS, NULL); exit(0); } -void +static void die(int sig __unused) { exit(0); } int -main(int argc, char *argv[]) +main(int argc __unused, char *argv[] __unused) { SVCXPRT *transp; int ok;