From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 382C6D806DA for ; Fri, 13 Sep 2024 08:21:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=gu/J46vMwkX+XZar9m0g74i696Tw6FgrOlygkRGH9ZY=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240830; t=1726215714; v=1; x=1726474913; b=VePg6wjt40swEgCy0Gnl29QJm6dw3d2AOIwosf8pxPp4EHuODroyfdm+3vfIkSI/l/TGh2UL ZM/XNpNkajqHzcjfQzxwKFVIj9DEz3L6F1f3FjZ7d9nYqBBVJzrHYBlM0MofGtBBE7SZQ2iOx0m nVCVI0VrclI367MpGGCHF8I8uX4tQcn9jDXOqk2lUMYm3S8bMlOszp9smlI6KwpuJhcXt4bHxDE GFE6N313sYrVFe4HBXwWVNSy/WtDVRXife1teznJ2CDqm6utK/h6sK4EHEb2sNM+X/X60MOMCH2 WBRQXE/YZaDwMWlkFl7SV2Fu7NXWtCC/2VQoGpyuh5nvw== X-Received: by 127.0.0.2 with SMTP id xKh2YY7687511xQPQbqip8MP; Fri, 13 Sep 2024 01:21:53 -0700 X-Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mx.groups.io with SMTP id smtpd.web10.68828.1726215712340910503 for ; Fri, 13 Sep 2024 01:21:52 -0700 X-Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 367CF3F2FC for ; Fri, 13 Sep 2024 08:21:50 +0000 (UTC) X-Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-374aef640a4so874821f8f.1 for ; Fri, 13 Sep 2024 01:21:50 -0700 (PDT) X-Gm-Message-State: kdUDFPbN8X0USybUaI4bUvpsx7686176AA= X-Received: by 2002:a5d:48d2:0:b0:376:efb7:d19a with SMTP id ffacd0b85a97d-378c2d4d6e0mr3051974f8f.44.1726215709729; Fri, 13 Sep 2024 01:21:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHU5uWXpjsjLNItB00ReOBJAtoApU06mXLKPW+DUfou3L8YwsFAtgSdCUh01/nGuB8QxbYxeQ== X-Received: by 2002:a5d:48d2:0:b0:376:efb7:d19a with SMTP id ffacd0b85a97d-378c2d4d6e0mr3051940f8f.44.1726215708614; Fri, 13 Sep 2024 01:21:48 -0700 (PDT) X-Received: from localhost.localdomain (ip-005-147-080-091.um06.pools.vodafone-ip.de. [5.147.80.91]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956dd932sm16098520f8f.98.2024.09.13.01.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 01:21:48 -0700 (PDT) From: "Heinrich Schuchardt" To: Zhichao Gao Cc: EDK II Development , Heinrich Schuchardt Subject: [edk2-devel] [PATCH 1/1] ShellPkg: add missing linefeed in reset message Date: Fri, 13 Sep 2024 10:21:18 +0200 Message-ID: <20240913082118.43865-1-heinrich.schuchardt@canonical.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 13 Sep 2024 01:21:52 -0700 Resent-From: heinrich.schuchardt@canonical.com Reply-To: devel@edk2.groups.io,heinrich.schuchardt@canonical.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=VePg6wjt; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=canonical.com (policy=none) REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4850 When running 'reset -s' no lineffeed is printed. This results in the Linu= x command line prompt not being printed at the start of a new line: Shell> reset -s Reset with (0 bytes)user@workstation:/tmp$ Add the missing linefeed. Signed-off-by: Heinrich Schuchardt --- ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c b/ShellP= kg/Library/UefiShellLevel2CommandsLib/Reset.c index 361c47e43059..cab9a1da3091 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Reset.c @@ -138,7 +138,7 @@ ShellCommandRunReset ( } else { String =3D ShellCommandLineGetValue (Package, L"-s"); DEBUG_CODE ( - ShellPrintEx (-1, -1, L"Reset with %s (%d bytes)", String, S= tring !=3D NULL ? StrSize (String) : 0); + ShellPrintEx (-1, -1, L"Reset with %s (%d bytes)\n", String,= String !=3D NULL ? StrSize (String) : 0); ); if (String !=3D NULL) { gRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, StrSize (St= ring), (VOID *)String); --=20 2.45.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120562): https://edk2.groups.io/g/devel/message/120562 Mute This Topic: https://groups.io/mt/108428477/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-