diff options
author | 2015-01-06 19:51:39 +0000 | |
---|---|---|
committer | 2015-01-06 19:51:39 +0000 | |
commit | 4f6891e9d6f3b49d0e50e2d648e611c5eb784f66 (patch) | |
tree | 8d6d04bfd141eabe1b31e6b250fc4fdb58250cad /net-analyzer | |
parent | Remove libsystemd automagic, bug #535812 (diff) | |
download | gentoo-2-4f6891e9d6f3b49d0e50e2d648e611c5eb784f66.tar.gz gentoo-2-4f6891e9d6f3b49d0e50e2d648e611c5eb784f66.tar.bz2 gentoo-2-4f6891e9d6f3b49d0e50e2d648e611c5eb784f66.zip |
One more for portability.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nttcp/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nttcp/files/nttcp-1.47-format-security.patch | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/nttcp/ChangeLog b/net-analyzer/nttcp/ChangeLog index 334357431ea1..fe75907b8af0 100644 --- a/net-analyzer/nttcp/ChangeLog +++ b/net-analyzer/nttcp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nttcp # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nttcp/ChangeLog,v 1.22 2015/01/06 19:43:48 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nttcp/ChangeLog,v 1.23 2015/01/06 19:51:39 jer Exp $ + + 06 Jan 2015; Jeroen Roovers <jer@gentoo.org> + files/nttcp-1.47-format-security.patch: + One more for portability. *nttcp-1.47-r3 (06 Jan 2015) diff --git a/net-analyzer/nttcp/files/nttcp-1.47-format-security.patch b/net-analyzer/nttcp/files/nttcp-1.47-format-security.patch index 336ad237456d..514b5fa6e33b 100644 --- a/net-analyzer/nttcp/files/nttcp-1.47-format-security.patch +++ b/net-analyzer/nttcp/files/nttcp-1.47-format-security.patch @@ -44,7 +44,7 @@ } if (OptionLine[sizeof(OptionLine)-1] != '\0') { - sprintf(MsgBuf, "%s: optionline longer than %d\n", -+ sprintf(MsgBuf, "%s: optionline longer than %ld\n", ++ sprintf(MsgBuf, "%s: optionline longer than %zd\n", myname, sizeof(OptionLine)-1); Exit(MsgBuf, 3); } |