From patchwork Wed Aug 8 00:01:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 954747 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41lWlD379cz9s3q for ; Wed, 8 Aug 2018 10:01:44 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="jmV+YrTz"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41lWlD1SrfzDqC8 for ; Wed, 8 Aug 2018 10:01:44 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="jmV+YrTz"; dkim-atps=neutral X-Original-To: Petitboot@lists.ozlabs.org Delivered-To: Petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=geoff@infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="jmV+YrTz"; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41lWkj0F6QzDqhb for ; Wed, 8 Aug 2018 10:01:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Date:Cc:To:Subject:From:References: In-Reply-To:Message-Id:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y7RYeBy2KgsJQSKfS55MrnqnWlsC+PEsLvyNVJG6Ii4=; b=jmV+YrTzlQO0ZF7MATJP8xbq+ 940EwjiM+h52PBmL3DJc3ejqAVpRNUvx0HAEeMg2wm6fxonSfeVT2+WUPG8IL1koFhl0xoz0rMj1e sEF8Pekk+aM9jtHHSI0m/I+HDuytvl6J4+gDg876Mh6MvGFrSppSC4Aht0j8KiDEEL+u3nspvdcTI hdG6hL618mm6oWnjw9KNKTi/Fak6xBqxmkIM2lAneoiaQw5w/0X2iKKxrDv8KcQ/bYJGVxcAhLVcu 596PXRkDqdfPS85GeJSZG8LsSur4pyTepk+4cEsHRL5l1373SVR62I3yM1SczjSlspeOVB6/PoHrz WBO0rox2A==; Received: from geoff by merlin.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnBuX-0004Tl-MI; Wed, 08 Aug 2018 00:01:09 +0000 Message-Id: In-Reply-To: References: From: Geoff Levand Patch-Date: Tue, 7 Aug 2018 16:54:47 -0700 Subject: [PATCH v1 2/6] discover/platform: Use pb_log_fn To: Samuel Mendoza-Jonas Date: Wed, 08 Aug 2018 00:01:09 +0000 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petitboot@lists.ozlabs.org MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Signed-off-by: Geoff Levand --- discover/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discover/platform.c b/discover/platform.c index 767f66e..237da3a 100644 --- a/discover/platform.c +++ b/discover/platform.c @@ -153,7 +153,7 @@ void config_set_defaults(struct config *config) config->debug = config_debug_on_cmdline(); lang = setlocale(LC_ALL, NULL); - pb_log("lang: %s\n", lang); + pb_log_fn("lang: %s\n", lang); if (lang && strlen(lang)) config->lang = talloc_strdup(config, lang); else