summaryrefslogtreecommitdiff
path: root/extmod/vfs_posix.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-01-18 17:09:56 -0800
committerScott Shawcroft <scott@tannewt.org>2019-01-18 17:09:56 -0800
commitb569e8bab044bb54210e12254a5c22342edb1296 (patch)
tree36cef92f981d2eee64982f1c96a4262c9e10de23 /extmod/vfs_posix.c
parentb41d386d02f26e81dc1f234826fde7d24b020531 (diff)
More make_new updates
Diffstat (limited to 'extmod/vfs_posix.c')
-rw-r--r--extmod/vfs_posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/vfs_posix.c b/extmod/vfs_posix.c
index 39e197f29..d28dfe451 100644
--- a/extmod/vfs_posix.c
+++ b/extmod/vfs_posix.c
@@ -90,8 +90,8 @@ STATIC mp_import_stat_t mp_vfs_posix_import_stat(void *self_in, const char *path
return MP_IMPORT_STAT_NO_EXIST;
}
-STATIC mp_obj_t vfs_posix_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
- mp_arg_check_num(n_args, n_kw, 0, 1, false);
+STATIC mp_obj_t vfs_posix_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *args, mp_map_t *kw_args) {
+ mp_arg_check_num(n_args, kw_args, 0, 1, false);
mp_obj_vfs_posix_t *vfs = m_new_obj(mp_obj_vfs_posix_t);
vfs->base.type = type;