refactor(macos): change toStr string

This commit is contained in:
utox39
2025-05-10 19:30:04 +02:00
parent 34ff7e827b
commit c541e0588e
3 changed files with 8 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ pub const NetInfo = struct {
ipv4_addr: []u8,
pub fn toStr(self: NetInfo, buf: []u8) ![]u8 {
return std.fmt.bufPrint(buf, "Local IP ({s}): {s}", .{ self.interface_name, self.ipv4_addr });
return std.fmt.bufPrint(buf, "({s}): {s}", .{ self.interface_name, self.ipv4_addr });
}
};