summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_fat_fileio2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/vfs_fat_fileio2.py')
-rw-r--r--tests/extmod/vfs_fat_fileio2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/extmod/vfs_fat_fileio2.py b/tests/extmod/vfs_fat_fileio2.py
index 9b9a11e43..6721f9b93 100644
--- a/tests/extmod/vfs_fat_fileio2.py
+++ b/tests/extmod/vfs_fat_fileio2.py
@@ -31,9 +31,9 @@ class RAMFS:
def ioctl(self, op, arg):
#print("ioctl(%d, %r)" % (op, arg))
- if op == 4: # BP_IOCTL_SEC_COUNT
+ if op == 4: # MP_BLOCKDEV_IOCTL_BLOCK_COUNT
return len(self.data) // self.SEC_SIZE
- if op == 5: # BP_IOCTL_SEC_SIZE
+ if op == 5: # MP_BLOCKDEV_IOCTL_BLOCK_SIZE
return self.SEC_SIZE