[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] term/serial: Use grub_strncpy instead of grub_snprintf when
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] term/serial: Use grub_strncpy instead of grub_snprintf when only copying string |
Date: |
Wed, 28 Jun 2023 14:51:46 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Jun 28, 2023 at 02:47:09AM -0500, Glenn Washburn wrote:
> Using grub_strncpy() instead of grub_snprintf() is less overhead and
> indicates clearly that the dest should be the same string as the source.
>
> Also fix indentation.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel