Skip to content

Commit 70c6810

Browse files
committed
fix a typo
Signed-off-by: shenmu.wy <[email protected]>
1 parent 68e6b96 commit 70c6810

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
@@ -396,7 +396,7 @@ func (tx *Tx) WriteTo(w io.Writer) (n int64, err error) {
396396
// the transaction was based on.
397397
//
398398
// To overcome this, we reuse the already opened file handle when
399-
// WritFlag not set. When the WriteFlag is set, we reopen the file
399+
// WriteFlag not set. When the WriteFlag is set, we reopen the file
400400
// but verify that it still refers to the same underlying file
401401
// (by device and inode). If it does not, we fall back to
402402
// reusing the existing already opened file handle.

0 commit comments

Comments
 (0)