You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/19 14:04:48 UTC

[commons-crypto] branch master updated: Better debug output

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new f429145  Better debug output
f429145 is described below

commit f429145f6a1f3e0bed7d6437831436deabc26fa0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Dec 19 09:04:45 2022 -0500

    Better debug output
---
 src/main/java/org/apache/commons/crypto/NativeCodeLoader.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
index b1489bb..c450053 100644
--- a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
+++ b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
@@ -294,12 +294,12 @@ final class NativeCodeLoader {
             if (nativeLibFile != null) {
                 // Load extracted or specified native library.
                 final String absolutePath = nativeLibFile.getAbsolutePath();
-                debug("System.load('%s')", absolutePath);
+                debug("%s System.load('%s')", SIMPLE_NAME, absolutePath);
                 System.load(absolutePath);
             } else {
                 // Load preinstalled library (in the path -Djava.library.path)
                 final String libname = NATIVE_LIBNAME;
-                debug("System.loadLibrary('%s')", libname);
+                debug("%s System.loadLibrary('%s')", SIMPLE_NAME, libname);
                 System.loadLibrary(libname);
             }
             return null; // OK