diff --git a/src/main/java/org/cryptomator/frontend/fuse/ReadOnlyAdapter.java b/src/main/java/org/cryptomator/frontend/fuse/ReadOnlyAdapter.java index fc9f5fa..ee99caa 100644 --- a/src/main/java/org/cryptomator/frontend/fuse/ReadOnlyAdapter.java +++ b/src/main/java/org/cryptomator/frontend/fuse/ReadOnlyAdapter.java @@ -317,7 +317,7 @@ public void close() throws IOException { * Attempts to get a specific error code that best describes the given exception. * As a side effect this logs the error. * - * @param e An exception + * @param e An exception * @param opDesc A human-friendly string describing what operation was attempted (for logging purposes) * @return A specific error code or -EIO. */ @@ -328,8 +328,8 @@ protected int getErrorCodeForGenericFileSystemException(FileSystemException e, S // LOG.warn("{} {} failed, name too long.", opDesc); // return -ErrorCodes.ENAMETOOLONG(); // } else { - LOG.error(opDesc + " failed.", e); - return -errno.eio(); + LOG.error(opDesc + " failed.", e); + return -errno.eio(); // } } }