diff --git a/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java b/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java index 5b1f18f..88ece45 100644 --- a/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java +++ b/src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java @@ -140,12 +140,12 @@ class NxdtUsbAbi1 { private boolean isInvalidDirective(byte[] message) throws Exception{ if (! Arrays.equals(Arrays.copyOfRange(message, 0,4), MAGIC_NXDT)){ writeUsb(USBSTATUS_INVALID_MAGIC); - logPrinter.print("Invalid 'MAGIC'", EMsgType.INFO); + logPrinter.print("Invalid 'MAGIC'", EMsgType.FAIL); return true; } if (message.length < 0x10){ writeUsb(USBSTATUS_MALFORMED_REQUEST); - logPrinter.print("Invalid directive size. Expected size is 4096 while received is "+message.length, EMsgType.INFO); + logPrinter.print("Invalid directive size. "+message.length+" bytes received.", EMsgType.FAIL); return true; } return false;