From patchwork Fri May 9 15:06:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 347443 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D4B0B140079 for ; Sat, 10 May 2014 01:07:53 +1000 (EST) Received: from localhost ([::1]:53035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WimOt-0000pz-Lv for incoming@patchwork.ozlabs.org; Fri, 09 May 2014 11:07:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WimNq-00087Q-DM for qemu-devel@nongnu.org; Fri, 09 May 2014 11:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WimNo-0005oM-1q for qemu-devel@nongnu.org; Fri, 09 May 2014 11:06:46 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WimNn-0005oE-Rq for qemu-devel@nongnu.org; Fri, 09 May 2014 11:06:43 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WimNl-0005Sr-Lv; Fri, 09 May 2014 16:06:41 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 9 May 2014 16:06:41 +0100 Message-Id: <1399648001-20980-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Blue Swirl , Riku Voipio , Brad Smith , patches@linaro.org Subject: [Qemu-devel] [PATCH] bsd-user: Remove reference to CONFIG_UNAME_RELEASE X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Commit e586822a5 broke the bsd-user build when it removed the CONFIG_UNAME_RELEASE define but forgot to remove the use of it in bsd-user. Fix this in the simplest possible way (bsd-user doesn't make any use at all of the qemu_uname_release variable except to allow it to be pointlessly set by the user, so this is all we need to do.) Signed-off-by: Peter Maydell --- Not even compile tested, since I don't have a BSD system to hand. If somebody would like to provide a Tested-by: then I'll apply it to master... bsd-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index f81ba55..0f9169d 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -43,7 +43,7 @@ unsigned long reserved_va; #endif static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX; -const char *qemu_uname_release = CONFIG_UNAME_RELEASE; +const char *qemu_uname_release; extern char **environ; enum BSDType bsd_type;