Skip to content

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Feb 14, 2023
1 parent df13fe5 commit e9d6a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/unveil_openbsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func supportsUnveil() error {

// unveil is not available before 6.4
if maj < 6 || (maj == 6 && min <= 3) {
return fmt.Errorf("cannot use execpromises on OpenBSD %d.%d", maj, min)
return fmt.Errorf("cannot use unveil on OpenBSD %d.%d", maj, min)
}

return nil
Expand Down

0 comments on commit e9d6a00

Please sign in to comment.