Skip to content

Commit c243247

Browse files
committed
Description: Fix typo in 'truncate' function name
1 parent a6672e9 commit c243247

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/fioc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def write(self, path, buf, size, offset):
165165

166166
self.do_write(path, buf, size, offset)
167167

168-
def trunate(self, path, size):
168+
def truncate(self, path, size):
169169
if self.file_type(path) != FIOC_FILE:
170170
return -error.EINVAL
171171

0 commit comments

Comments
 (0)