diff --git a/src/main/java/be/panako/util/FileUtils.java b/src/main/java/be/panako/util/FileUtils.java index 1553b45..74172c3 100644 --- a/src/main/java/be/panako/util/FileUtils.java +++ b/src/main/java/be/panako/util/FileUtils.java @@ -525,7 +525,7 @@ public static boolean checkFileSize(File file,long maxFileSizeInMB){ if(fileSizeInBytes != 0 && fileSizeInMB < maxFileSizeInMB ){ fileOk = true; }else{ - String message = String.format("Could not process %s it has an unacceptable file size of %l MB (zero or larger than %d MB ).", file.getName(), fileSizeInMB, maxFileSizeInMB ); + String message = String.format("Could not process %s it has an unacceptable file size of %d MB (zero or larger than %d MB ).", file.getName(), fileSizeInMB, maxFileSizeInMB ); LOG.warning(message); System.err.println(message); }