From b1966fe3af324b0a097873ad7fac40cfbc98e2f5 Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Sun, 10 May 2020 02:53:31 +0300 Subject: [PATCH] Typos fixes --- src/main/java/nsusbloader/Utilities/NxdtUsbAbi1.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;