Skip to content

Commit

Permalink
fix build errors on *BSD platforms
Browse files Browse the repository at this point in the history
ref #971
  • Loading branch information
lufia committed Feb 27, 2024
1 parent 308518b commit a257f1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/freebsd/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ type InterfaceGenerator struct {
// Generate XXX
func (g *InterfaceGenerator) Generate() ([]mkr.Interface, error) {
// TODO
return []mkr.any, nil
return []mkr.Interface(nil), nil
}
2 changes: 1 addition & 1 deletion spec/netbsd/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ type InterfaceGenerator struct {
// Generate XXX
func (g *InterfaceGenerator) Generate() ([]mkr.Interface, error) {
// TODO
return []mkr.any, nil
return []mkr.Interface(nil), nil
}

0 comments on commit a257f1d

Please sign in to comment.