pkg/fileutil: fix constant for linux locking

The constant F_OFD_GETLK is 36, not 37, according to
/usr/include/bits/fcntl-linux.h
Credits go to joakim-tjernlund who digged deep enough
to find this.

Fixes #31182
release-3.3
Moritz Both 2020-11-01 23:20:12 +01:00 committed by Kir Kolyshkin
parent 2c834459e1
commit ec81adb216
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ import (
//
// constants from /usr/include/bits/fcntl-linux.h
const (
F_OFD_GETLK = 37
F_OFD_GETLK = 36
F_OFD_SETLK = 37
F_OFD_SETLKW = 38
)