altosuilib: Remove spurious message about libaltos
[fw/altos] / altosuilib / AltosUILib.java
index 7553a8ac06bf9a84c2a832be60cb4433bf27fdf9..97a9067a5ee2d7d72033531ccabf85c23deece0e 100644 (file)
@@ -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");