[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] commands/file: Fix array/enum desync
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] commands/file: Fix array/enum desync |
Date: |
Fri, 26 Feb 2021 20:52:30 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Feb 26, 2021 at 12:05:07PM -0600, Derek Foreman wrote:
> commit f1957dc8a3347278a095bc8f44197662559a8ba3 added two entries to the
> options array, but only 1 entry to the enum. This resulted in everything
> after the insertion point being off by one.
>
> This broke at least the 'file --is-hibernated-hiberfil' command.
>
> Bring the two back in sync by splitting the RISCV enum entry into two,
> as is done for other architectures.
>
> Signed-off-by: Derek Foreman <derek@endlessos.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel