Date: Thu, 10 Oct 2013 13:03:28 +0000 (UTC) From: Michael Reifenberger <mr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329988 - head/sysutils/gstopd/files Message-ID: <201310101303.r9AD3S4R022420@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mr Date: Thu Oct 10 13:03:28 2013 New Revision: 329988 URL: http://svnweb.freebsd.org/changeset/ports/329988 Log: Fix build with clang Added: head/sysutils/gstopd/files/ head/sysutils/gstopd/files/patch-gstopd.c (contents, props changed) Added: head/sysutils/gstopd/files/patch-gstopd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/gstopd/files/patch-gstopd.c Thu Oct 10 13:03:28 2013 (r329988) @@ -0,0 +1,9 @@ +--- gstopd.c.orig 2013-10-10 12:51:01.431793192 +0000 ++++ gstopd.c 2013-10-10 12:58:54.538750707 +0000 +@@ -116,5 +116,5 @@ + errx( 1, "Error %d accessing %s", errno, path ); + } +- snprintf( devs[i].name, 6, argv[i] ); ++ snprintf( devs[i].name, 6, "%s", argv[i] ); + devs[i].lastt = 1; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310101303.r9AD3S4R022420>