about summary refs log tree commit diff
path: root/library/std/src/sys/unix/l4re.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/unix/l4re.rs')
-rw-r--r--library/std/src/sys/unix/l4re.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/l4re.rs b/library/std/src/sys/unix/l4re.rs
index d60a4b5591f..3cf637c8228 100644
--- a/library/std/src/sys/unix/l4re.rs
+++ b/library/std/src/sys/unix/l4re.rs
@@ -1,6 +1,9 @@
 macro_rules! unimpl {
     () => {
-        return Err(io::Error::new_const(io::ErrorKind::Other, &"No networking available on L4Re."));
+        return Err(io::Error::new_const(
+            io::ErrorKind::Unsupported,
+            &"No networking available on L4Re.",
+        ));
     };
 }