From ebbbe9677731bed2b16a12acda62debd8bce08c8 Mon Sep 17 00:00:00 2001 From: Samuel GOUGEON Date: Mon, 22 Jul 2019 22:25:36 +0200 Subject: [PATCH] [core] getmemory('') error refered to funcprot Change-Id: Ief21234d31fb21c8c656ee2318eed0d714987334 --- .../modules/core/sci_gateway/cpp/sci_getmemory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scilab/modules/core/sci_gateway/cpp/sci_getmemory.cpp b/scilab/modules/core/sci_gateway/cpp/sci_getmemory.cpp index df12b32..d2b19e1 100644 --- a/scilab/modules/core/sci_gateway/cpp/sci_getmemory.cpp +++ b/scilab/modules/core/sci_gateway/cpp/sci_getmemory.cpp @@ -29,13 +29,13 @@ types::Function::ReturnValue sci_getmemory(types::typed_list &in, int _iRetCount { if (in.size() > 0) { - Scierror(77, _("%s: Wrong number of input argument(s): %d expected."), "funcprot", 0); + Scierror(77, _("%s: Wrong number of input argument(s): %d expected."), "getmemory", 0); return types::Function::Error; } if (_iRetCount > 2) { - Scierror(77, _("%s: Wrong number of output argument(s): %d expected."), "funcprot", 2); + Scierror(77, _("%s: Wrong number of output argument(s): %d expected."), "getmemory", 2); return types::Function::Error; } -- 1.7.9.5