Merge pull request #12553 from kolyshkin/3.2-fix-lock

[3.2 backport] pkg/fileutil: fix constant for linux locking
This commit is contained in:
Piotr Tabor 2021-01-16 22:19:50 +01:00 committed by GitHub
commit 13465d6d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
)