From 8d2fb7f59c37c8bbb10678ddf24b8f943172bbb4 Mon Sep 17 00:00:00 2001 From: Liviu Date: Wed, 3 Apr 2019 20:10:33 +0300 Subject: [PATCH] Fix Sys.Malloc comment The comment mentions `calloc`, but the ffi-ed function is `malloc` --- fs/api_sys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/api_sys.js b/fs/api_sys.js index e3c72bd..a4bc573 100644 --- a/fs/api_sys.js +++ b/fs/api_sys.js @@ -12,7 +12,7 @@ let Sys = { return buf; }, - // ## **`Sys.calloc(nmemb, size)`** + // ## **`Sys.malloc(size)`** // Allocate a memory region. // Note: currently memory allocated this way must be explicitly released with // `free()`.