Re: [Qemu-devel] [PATCH 4/4] memfd: improve error messages

2018-11-27 Thread Marc-André Lureau
On Tue, Nov 27, 2018 at 3:11 PM Ilya Maximets wrote: > > This gives more information about the failure. > Additionally 'ENOSYS' returned for a non-Linux platforms instead of > 'errno', which is not initilaized in this case. > > Signed-off-by: Ilya Maximets Reviewed-by: Marc-André Lureau > ---

[Qemu-devel] [PATCH 4/4] memfd: improve error messages

2018-11-27 Thread Ilya Maximets
This gives more information about the failure. Additionally 'ENOSYS' returned for a non-Linux platforms instead of 'errno', which is not initilaized in this case. Signed-off-by: Ilya Maximets --- util/memfd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/memfd.c