diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-20 11:09:08 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-21 01:50:33 +0900 |
commit | 5bb1d7fbab469b350d132cbbd2c794ffacef1b81 (patch) | |
tree | a48b1d5b73e72593b922c67c3946c80121841db0 /src/test/test-fileio.c | |
parent | 19ee48a6c29a03f6475689667b5c625a41589e72 (diff) | |
download | systemd-5bb1d7fbab469b350d132cbbd2c794ffacef1b81.tar.gz |
tree-wide: use -EBADF more
Diffstat (limited to 'src/test/test-fileio.c')
-rw-r--r-- | src/test/test-fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c index 2009c0f972..9d9c719875 100644 --- a/src/test/test-fileio.c +++ b/src/test/test-fileio.c @@ -877,7 +877,7 @@ TEST(read_nul_string) { TEST(read_full_file_socket) { _cleanup_(rm_rf_physical_and_freep) char *z = NULL; - _cleanup_close_ int listener = -1; + _cleanup_close_ int listener = -EBADF; _cleanup_free_ char *data = NULL, *clientname = NULL; union sockaddr_union sa; const char *j, *jj; |