From 5bb1d7fbab469b350d132cbbd2c794ffacef1b81 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 20 Dec 2022 11:09:08 +0900 Subject: tree-wide: use -EBADF more --- src/basic/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/basic/async.c') diff --git a/src/basic/async.c b/src/basic/async.c index 241803f33a..73de889a2b 100644 --- a/src/basic/async.c +++ b/src/basic/async.c @@ -103,5 +103,5 @@ int asynchronous_close(int fd) { assert_se(close_nointr(fd) != -EBADF); } - return -1; + return -EBADF; } -- cgit v1.2.1