Fix format-security violation with croak
Missed one in https://github.com/prusa3d/slic3r/pull/802.
This commit is contained in:
parent
06f44a9e4b
commit
8eb8a8b1f6
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
try {
|
try {
|
||||||
THIS->do_export(print, path, preview_data);
|
THIS->do_export(print, path, preview_data);
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
croak(e.what());
|
croak("%s\n", e.what());
|
||||||
}
|
}
|
||||||
%};
|
%};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue