summaryrefslogtreecommitdiffstats
path: root/examples/java/ScannerTinyB02.java
diff options
context:
space:
mode:
Diffstat (limited to 'examples/java/ScannerTinyB02.java')
-rw-r--r--examples/java/ScannerTinyB02.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/java/ScannerTinyB02.java b/examples/java/ScannerTinyB02.java
index 2f1cf9de..67938901 100644
--- a/examples/java/ScannerTinyB02.java
+++ b/examples/java/ScannerTinyB02.java
@@ -129,7 +129,7 @@ public class ScannerTinyB02 {
}
adapter = adapters.get(dev_id);
if( !adapter.isPowered() ) {
- System.err.println("Adapter not enabled: device "+adapter.getName()+", address "+adapter.getAddress()+": "+adapter.toString());
+ System.err.println("Adapter not enabled: device "+adapter.getName()+", address "+adapter.getAddressAndType()+": "+adapter.toString());
System.exit(-1);
}
}