From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Zyv-0000dq-HD for qemu-devel@nongnu.org; Mon, 13 Jan 2014 00:22:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2Zyq-0000hp-73 for qemu-devel@nongnu.org; Mon, 13 Jan 2014 00:22:37 -0500 Date: Mon, 13 Jan 2014 13:22:23 +0800 From: Stefan Hajnoczi Message-ID: <20140113052223.GB14770@stefanha-thinkpad.redhat.com> References: <1389292467-5570-1-git-send-email-kroosec@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1389292467-5570-1-git-send-email-kroosec@gmail.com> Subject: Re: [Qemu-devel] [PATCH] net: Use g_strdup_printf instead of snprintf. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hani Benhabiles Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, stefanha@redhat.com, aliguori@amazon.com On Thu, Jan 09, 2014 at 07:34:27PM +0100, Hani Benhabiles wrote: > assign_name() in net/net.c is using snprintf + g_strdup to get the same > result as g_strdup_printf. > > Signed-off-by: Hani Benhabiles > --- > net/net.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan