-/* Copyright (c) 2008-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2019. 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. */
static void host()
{
- simgrid::s4u::Storage* storage = simgrid::s4u::Storage::byName("Disk1");
+ simgrid::s4u::Storage* storage = simgrid::s4u::Storage::by_name("Disk1");
int id = simgrid::s4u::this_actor::get_pid();
XBT_INFO("process %d is writing!", id);
storage->write(3000000);