Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[xbt] Add unit test got xbt_dict with arbitrary (not a NULL temrinated string) key
[simgrid.git] / examples / java / io / Client.java
index 487878c..b8d718f 100644 (file)
@@ -36,7 +36,7 @@ public class Client extends Process {
   public void main(String[] args) throws MsgException {
     
        // Retrieve all mount points of current host
-    Storage[] storages = host.getMountedStorage();
+    Storage[] storages = getHost().getMountedStorage();
     
        for (int i = 0; i < storages.length; i++) {
                // For each disk mounted on host