On Tue, 18 Feb 2025 at 16:47, Juraj Marcin <jmar...@redhat.com> wrote: > > + error_report("%s: unknown channel magic: %u", > > + __func__, channel_magic); > > Here, the number reported in the error will have incorrect endianness on > a non-BE system. I think it would be better to convert channel_magic to > the system endianness right after reading it. On top of that, then there > is no need to convert constants with magic numbers when comparing.
* Okay. Thank you. --- - Prasad