Skip to content

Commit 7dc6739

Browse files
authored
Merge pull request #1065 from silentred/fix-typo
fix a typo
2 parents 85e2b35 + a257c2f commit 7dc6739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ func (tx *Tx) WriteTo(w io.Writer) (n int64, err error) {
398398
// the transaction was based on.
399399
//
400400
// To overcome this, we reuse the already opened file handle when
401-
// WritFlag not set. When the WriteFlag is set, we reopen the file
401+
// WriteFlag not set. When the WriteFlag is set, we reopen the file
402402
// but verify that it still refers to the same underlying file
403403
// (by device and inode). If it does not, we fall back to
404404
// reusing the existing already opened file handle.

0 commit comments

Comments
 (0)