From: Keith Packard Date: Thu, 24 Jun 2021 04:35:07 +0000 (-0700) Subject: altosuilib: Remove spurious message about libaltos X-Git-Tag: 1.9.8~1^2~49 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=5a7c2d3416594fc1cb43532970476631b407e975 altosuilib: Remove spurious message about libaltos Wait until we've tried all libaltos options before complaining. Signed-off-by: Keith Packard --- diff --git a/altosuilib/AltosUILib.java b/altosuilib/AltosUILib.java index 7553a8ac..97a9067a 100644 --- a/altosuilib/AltosUILib.java +++ b/altosuilib/AltosUILib.java @@ -112,10 +112,11 @@ public class AltosUILib extends AltosLib { loaded_library = true; break; } catch (UnsatisfiedLinkError e) { - System.out.printf("Link error %s\n", e.getMessage()); loaded_library = false; } } + if (!loaded_library) + System.out.printf("Cannot find 'libaltos' device access library\n"); String OS = System.getProperty("os.name");