diff options
author | Paul Holzinger <pholzing@redhat.com> | 2023-06-23 12:23:50 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-25 23:50:42 +0200 |
commit | 32660cea04f6e7c353435061b876575539ac8cd9 (patch) | |
tree | 261aabbc43bfc2bad98bf2ba2c77113f292c335f /tcp.h | |
parent | 594dce66d3bbe30fa3f7ccce8b8eebb0bf3e7f2e (diff) | |
download | passt-32660cea04f6e7c353435061b876575539ac8cd9.tar passt-32660cea04f6e7c353435061b876575539ac8cd9.tar.gz passt-32660cea04f6e7c353435061b876575539ac8cd9.tar.bz2 passt-32660cea04f6e7c353435061b876575539ac8cd9.tar.lz passt-32660cea04f6e7c353435061b876575539ac8cd9.tar.xz passt-32660cea04f6e7c353435061b876575539ac8cd9.tar.zst passt-32660cea04f6e7c353435061b876575539ac8cd9.zip |
pasta: include errno in error message2023_06_25.32660ce
When the open() or setns() calls fails pasta exits early and prints an
error. However it did not include the errno so it was impossible to know
why the syscall failed.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
[sbrivio: Split print to fit 80 columns in pasta_open_ns()]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.h')
0 files changed, 0 insertions, 0 deletions