Skip to content

Commit c28cb48

Browse files
committed
print error message instead of a warning
a missing feature is a miss-configuration => it is an error
1 parent 9da331b commit c28cb48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syscalls/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ pub unsafe extern "C" fn sys_getaddrbyname(
259259
_inaddr: *mut u8,
260260
_len: usize,
261261
) -> i32 {
262-
warn!("Please enable the feature 'dns' to determine the network ip by name.");
262+
error!("Please enable the feature 'dns' to determine the network ip by name.");
263263
-ENOSYS
264264
}
265265

0 commit comments

Comments
 (0)