Skip to content

Commit

Permalink
fix(bsd): format string with format args (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden authored Dec 30, 2024
1 parent 287be18 commit 0358062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn sockaddr_len(af: AddressFamily) -> Result<usize> {
_ => {
return Err(Error::new(
ErrorKind::InvalidInput,
"Unsupported address family {af:?}",
format!("Unsupported address family {af:?}"),
))
}
};
Expand Down

0 comments on commit 0358062

Please sign in to comment.