Skip to content

Commit e9d6a00

Browse files
committed
fix error msg
1 parent df13fe5 commit e9d6a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/unveil_openbsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func supportsUnveil() error {
5050

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

5656
return nil

0 commit comments

Comments
 (0)