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/dataptr.c | |
| parent | 1e14751dcb53640e9592be678e3ebf6a46d611e1 (diff) | |
fix strndup
Diffstat (limited to 'core/src/xmake/libc/dataptr.c')
| -rw-r--r-- | core/src/xmake/libc/dataptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/libc/dataptr.c b/core/src/xmake/libc/dataptr.c index 4f983e5e7..a15fc108b 100644 --- a/core/src/xmake/libc/dataptr.c +++ b/core/src/xmake/libc/dataptr.c @@ -50,6 +50,6 @@ tb_int_t xm_libc_dataptr(lua_State* lua) xm_lua_pushpointer(lua, (tb_pointer_t)cstr); return 1; } - xm_libc_return_error(lua, "dataptr(invalid data)!"); + xm_libc_return_error(lua, "libc.dataptr(invalid data)!"); } |
