Fix format-security violation with croak

Missed one in https://github.com/prusa3d/slic3r/pull/802.
This commit is contained in:
Chow Loong Jin 2018-06-23 09:53:23 +08:00 committed by bubnikv
parent 06f44a9e4b
commit 8eb8a8b1f6

View file

@ -31,7 +31,7 @@
try {
THIS->do_export(print, path, preview_data);
} catch (std::exception& e) {
croak(e.what());
croak("%s\n", e.what());
}
%};