summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-27 17:38:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-03-27 22:28:37 +0200
commitec18927455416e34e5d1b315a698db09fc24c9d0 (patch)
treeaf6e0df86b50cd4cf910cc5e9785e66df02f532c /jvmfwk/plugins
parent2dcd003dcdc6f96181b1f18cf97f01cc49aba3a7 (diff)
Improve error reporting
Change-Id: Ic990e00d14b083f35b44915de3b048a683f269f4 Reviewed-on: https://gerrit.libreoffice.org/51962 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'jvmfwk/plugins')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
index 671ce5634f82..d02a43edacbc 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
@@ -822,7 +822,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
if( err < 0)
{
fprintf(stderr,"[Java framework] sunjavaplugin" SAL_DLLEXTENSION
- "Can not create Java Virtual Machine\n");
+ "Can not create Java Virtual Machine, %" SAL_PRIdINT32 "\n", sal_Int32(err));
errorcode = javaPluginError::VmCreationFailed;
}
else if( err > 0)