X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/47d230829f5847d1aed4f7aeb70ecee7a38e590d..HEAD:/examples/c/io-file-system/io-file-system.c diff --git a/examples/c/io-file-system/io-file-system.c b/examples/c/io-file-system/io-file-system.c index 988253b582..efa9fe4992 100644 --- a/examples/c/io-file-system/io-file-system.c +++ b/examples/c/io-file-system/io-file-system.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2023. 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. */ @@ -33,7 +33,7 @@ static void host(int argc, char* argv[]) { unsigned int disk_count; sg_disk_t* disks; - sg_host_disks(sg_host_self(), &disk_count, &disks); + sg_host_get_disks(sg_host_self(), &disk_count, &disks); show_info(disk_count, disks);