From owner-svn-ports-all@FreeBSD.ORG Thu Nov 21 15:37:52 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67FD5189; Thu, 21 Nov 2013 15:37:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 571242F68; Thu, 21 Nov 2013 15:37:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rALFbq21044769; Thu, 21 Nov 2013 15:37:52 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rALFbq3P044768; Thu, 21 Nov 2013 15:37:52 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201311211537.rALFbq3P044768@svn.freebsd.org> From: Bryan Drewery Date: Thu, 21 Nov 2013 15:37:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334496 - head/sysutils/nfsping/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 15:37:52 -0000 Author: bdrewery Date: Thu Nov 21 15:37:51 2013 New Revision: 334496 URL: http://svnweb.freebsd.org/changeset/ports/334496 Log: - Fix build on 10.0-i386 Reported by: pkg-fallout Added: head/sysutils/nfsping/files/patch-src__nfsping.c (contents, props changed) Added: head/sysutils/nfsping/files/patch-src__nfsping.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/nfsping/files/patch-src__nfsping.c Thu Nov 21 15:37:51 2013 (r334496) @@ -0,0 +1,23 @@ +--- ./src/nfsping.c.orig 2013-11-21 09:36:28.914158570 -0600 ++++ ./src/nfsping.c 2013-11-21 09:36:58.050495553 -0600 +@@ -84,9 +84,9 @@ + printf("%s : [%u], %03.2f ms (%03.2f avg, %.0f%% loss)\n", target->name, target->sent - 1, us / 1000.0, target->avg / 1000.0, loss); + } else if (format == graphite) { + if (prognum == MOUNTPROG) { +- printf("%s.%s.mount.usec %lu %li\n", prefix, target->ndqf, us, now.tv_sec); ++ printf("%s.%s.mount.usec %lu %li\n", prefix, target->ndqf, us, (long)now.tv_sec); + } else { +- printf("%s.%s.ping.usec %lu %li\n", prefix, target->ndqf, us, now.tv_sec); ++ printf("%s.%s.ping.usec %lu %li\n", prefix, target->ndqf, us, (long)now.tv_sec); + } + } + } +@@ -96,7 +96,7 @@ + /* send to stdout even though it could be considered an error, presumably these are being piped somewhere */ + /* stderr prints the errors themselves which can be discarded */ + if (format == graphite) { +- printf("%s.%s.ping.lost 1 %li\n", prefix, target->name, now.tv_sec); ++ printf("%s.%s.ping.lost 1 %li\n", prefix, target->name, (long)now.tv_sec); + } + } +