From 5a7c2d3416594fc1cb43532970476631b407e975 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 23 Jun 2021 21:35:07 -0700 Subject: [PATCH] altosuilib: Remove spurious message about libaltos Wait until we've tried all libaltos options before complaining. Signed-off-by: Keith Packard --- altosuilib/AltosUILib.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.30.2