Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove cp -p.
[simgrid.git] / src / simdag / sd_workstation.c
index cad1f73..9e9b2a8 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 #include "private.h"
 #include "simdag/simdag.h"
 #include "xbt/dict.h"
@@ -162,7 +168,7 @@ xbt_dict_t SD_workstation_get_properties(SD_workstation_t workstation)
   SD_CHECK_INIT_DONE();
   xbt_assert0((workstation != NULL), "Invalid parameters");
 
-  return surf_resource_properties(workstation->surf_workstation);
+  return surf_workstation_model->extension.workstation.get_properties(workstation->surf_workstation);
 
 }