|
| From: | Hanna Czenczek |
| Subject: | Re: [PATCH] raw-format: Fix error message for invalid offset/size |
| Date: | Fri, 30 Aug 2024 09:36:42 +0200 |
| User-agent: | Mozilla Thunderbird |
On 29.08.24 20:55, Kevin Wolf wrote:
s->offset and s->size are only set at the end of the function and still
contain the old values when formatting the error message. Print the
parameters with the new values that we actually checked instead.
Fixes: 500e2434207d ('raw-format: Split raw_read_options()')
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
block/raw-format.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
| [Prev in Thread] | Current Thread | [Next in Thread] |