summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--docs/develop/porting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/develop/porting.rst b/docs/develop/porting.rst
index 63919b97a6..09e61d5d9b 100644
--- a/docs/develop/porting.rst
+++ b/docs/develop/porting.rst
@@ -83,7 +83,7 @@ The basic MicroPython firmware is implemented in the main port file, e.g ``main.
}
// There is no filesystem so opening a file raises an exception.
- mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
+ mp_lexer_t *mp_lexer_new_from_file(qstr filename) {
mp_raise_OSError(MP_ENOENT);
}