diff options
author | Chow Loong Jin <hyperair@debian.org> | 2018-06-23 04:53:23 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-06-27 14:54:07 +0300 |
commit | 8eb8a8b1f6c95b6ff741199a60a70cd91f4aad31 (patch) | |
tree | e9df7a29f398912d6c294d45ce2135becaf1e218 /xs | |
parent | 06f44a9e4b7962e910f3c9a65276b04ffe160e37 (diff) |
Fix format-security violation with croak
Missed one in https://github.com/prusa3d/slic3r/pull/802.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/GCode.xsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/xsp/GCode.xsp b/xs/xsp/GCode.xsp index 36b43271c..c1856ccf7 100644 --- a/xs/xsp/GCode.xsp +++ b/xs/xsp/GCode.xsp @@ -31,7 +31,7 @@ try { THIS->do_export(print, path, preview_data); } catch (std::exception& e) { - croak(e.what()); + croak("%s\n", e.what()); } %}; |