From f581b2736ab25204c4ea5908bda6a83b17db1963 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 29 Oct 2019 10:41:43 +0200 Subject: [PATCH] lib/fs: typo fix in comment to WriteFileAtomically --- lib/fs/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fs/fs.go b/lib/fs/fs.go index cdb68b7817..4b0cd36197 100644 --- a/lib/fs/fs.go +++ b/lib/fs/fs.go @@ -92,7 +92,7 @@ var tmpFileNum uint64 // WriteFileAtomically atomically writes data to the given file path. // -// WriteFile returns only after the file is fully written and synced +// WriteFileAtomically returns only after the file is fully written and synced // to the underlying storage. func WriteFileAtomically(path string, data []byte) error { // Check for the existing file. It is expected that