refactor: log with zap

This commit is contained in:
cyrilix committed 2021-10-12 17:57:12 +02:00
1 parent b637ef9b5f
commit 164445b16c
443 files changed
+30977 -39011

No files matched your search

+6
View File
@@ -16,3 +16,9 @@ func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
_, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
return err
}
// FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command.
func FcntlFstore(fd uintptr, cmd int, fstore *Fstore_t) error {
_, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(fstore))))
return err
}