Skip to content

Commit

Permalink
print error message instead of a warning
Browse files Browse the repository at this point in the history
a missing feature is a miss-configuration => it is an error
  • Loading branch information
stlankes committed May 22, 2024
1 parent 9da331b commit c28cb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syscalls/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ pub unsafe extern "C" fn sys_getaddrbyname(
_inaddr: *mut u8,
_len: usize,
) -> i32 {
warn!("Please enable the feature 'dns' to determine the network ip by name.");
error!("Please enable the feature 'dns' to determine the network ip by name.");
-ENOSYS
}

Expand Down

0 comments on commit c28cb48

Please sign in to comment.