From fc0f913940322a566506c0347b2d78de0659c59d Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sat, 23 Jul 2022 23:29:58 +0900 Subject: [PATCH] Fix typo in stream.rs avaiable -> available --- src/libos/src/net/socket/unix/stream/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libos/src/net/socket/unix/stream/stream.rs b/src/libos/src/net/socket/unix/stream/stream.rs index a793e822..45c1684e 100644 --- a/src/libos/src/net/socket/unix/stream/stream.rs +++ b/src/libos/src/net/socket/unix/stream/stream.rs @@ -91,7 +91,7 @@ impl Stream { return_errno!(EINVAL, "the socket is already bound"); } - // check the global address space to see if the address is avaiable before bind + // check the global address space to see if the address is available before bind ADDRESS_SPACE.add_binder(addr)?; info.set_addr(addr); }