Files
Kevin Wolf 21af1db1d0 raw-format: Fix error message for invalid offset/size
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: 500e243420 ('raw-format: Split raw_read_options()')
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20240829185527.47152-1-kwolf@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 04bbc3ee52)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-11-10 11:09:26 +03:00
..
2023-12-21 22:49:27 +01:00
2023-11-08 17:56:18 +01:00
2023-12-21 22:49:27 +01:00
2023-11-08 17:56:18 +01:00
2023-12-21 22:49:27 +01:00
2023-12-21 22:49:27 +01:00
2023-05-30 17:37:26 +02:00
2023-11-08 17:56:18 +01:00
2023-11-08 17:56:18 +01:00