diff options
| author | ruki <[email protected]> | 2021-09-21 00:33:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-21 00:33:49 +0800 |
| commit | 6bd955fbacc03792d8b36dffa087967e9e056e31 (patch) | |
| tree | 91c05b8f4a7c047add5f7d61c323e47361a8aef7 /core/src/xmake/libc/malloc.c | |
| parent | 1e14751dcb53640e9592be678e3ebf6a46d611e1 (diff) | |
fix strndup
Diffstat (limited to 'core/src/xmake/libc/malloc.c')
| -rw-r--r-- | core/src/xmake/libc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/libc/malloc.c b/core/src/xmake/libc/malloc.c index 0ee81e68f..bb4b4271f 100644 --- a/core/src/xmake/libc/malloc.c +++ b/core/src/xmake/libc/malloc.c @@ -40,7 +40,7 @@ tb_int_t xm_libc_malloc(lua_State* lua) // check arguments? if (!lua_isnumber(lua, 1)) - xm_libc_return_error(lua, "malloc(invalid size)!"); + xm_libc_return_error(lua, "libc.malloc(invalid size)!"); // do malloc tb_pointer_t data = tb_null; |
