summaryrefslogtreecommitdiffstats
path: root/matlab/mex/mexInitFunctions.cpp
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-07-17 13:44:59 +0200
committerDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-07-17 13:44:59 +0200
commit4d39c35d6c9124c26de64c9d227a25f612903a2a (patch)
treea9e0cc003691fbfbe721fe58bf6ff8a3b0621e1c /matlab/mex/mexInitFunctions.cpp
parentba092a5602abba8b1a4bd17988dee6b567f02b7a (diff)
downloadastra-4d39c35d6c9124c26de64c9d227a25f612903a2a.tar.gz
astra-4d39c35d6c9124c26de64c9d227a25f612903a2a.tar.bz2
astra-4d39c35d6c9124c26de64c9d227a25f612903a2a.tar.xz
astra-4d39c35d6c9124c26de64c9d227a25f612903a2a.zip
Fix formatting when passing strings to log from high-level code
Diffstat (limited to 'matlab/mex/mexInitFunctions.cpp')
-rw-r--r--matlab/mex/mexInitFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/matlab/mex/mexInitFunctions.cpp b/matlab/mex/mexInitFunctions.cpp
index d8a50d7..89a31a1 100644
--- a/matlab/mex/mexInitFunctions.cpp
+++ b/matlab/mex/mexInitFunctions.cpp
@@ -8,7 +8,7 @@ bool mexIsInitialized=false;
*
*/
void logCallBack(const char *msg, size_t len){
- mexPrintf(msg);
+ mexPrintf("%s",msg);
}
/**