Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 00:03:06 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306945 - in head/net-mgmt/mk-livestatus: . files
Message-ID:  <201211040003.qA4036sX072468@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sun Nov  4 00:03:05 2012
New Revision: 306945
URL: http://svn.freebsd.org/changeset/ports/306945

Log:
  - fix the patch, we need the time in milliseconds not in micorseconds
  
  - noted by Erik Sejr, and on the check-mk list
  
  Feature safe: yes

Modified:
  head/net-mgmt/mk-livestatus/Makefile
  head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c

Modified: head/net-mgmt/mk-livestatus/Makefile
==============================================================================
--- head/net-mgmt/mk-livestatus/Makefile	Sat Nov  3 23:52:56 2012	(r306944)
+++ head/net-mgmt/mk-livestatus/Makefile	Sun Nov  4 00:03:05 2012	(r306945)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mk-livestatus
 PORTVERSION=	1.2.0p3
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://mathias-kettner.de/download/ \
 		LOCAL/ohauer

Modified: head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c
==============================================================================
--- head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c	Sat Nov  3 23:52:56 2012	(r306944)
+++ head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c	Sun Nov  4 00:03:05 2012	(r306945)
@@ -55,9 +55,9 @@
              end.millitm,
 +#else
 +            (int)start.tv_sec,
-+            start.tv_usec,
++            start.tv_usec / 1000,
 +            (int)end.tv_sec,
-+            end.tv_usec,
++            end.tv_usec / 1000,
 +#endif
              return_code,
              output);



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