A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use std::string for xbt_parse_units.
[simgrid.git]
/
src
/
plugins
/
file_system
/
s4u_FileSystem.cpp
diff --git
a/src/plugins/file_system/s4u_FileSystem.cpp
b/src/plugins/file_system/s4u_FileSystem.cpp
index
bfa07cc
..
12dd673
100644
(file)
--- a/
src/plugins/file_system/s4u_FileSystem.cpp
+++ b/
src/plugins/file_system/s4u_FileSystem.cpp
@@
-329,7
+329,7
@@
FileSystemDiskExt::FileSystemDiskExt(const Disk* ptr)
const char* size_str = ptr->get_property("size");
std::string dummyfile;
if (size_str)
const char* size_str = ptr->get_property("size");
std::string dummyfile;
if (size_str)
- size_ =
surf_parse_get_size(dummyfile, -1, size_str, "disk size",
ptr->get_name());
+ size_ =
xbt_parse_get_size(dummyfile, -1, size_str, "disk size " +
ptr->get_name());
const char* current_mount_str = ptr->get_property("mount");
if (current_mount_str)
const char* current_mount_str = ptr->get_property("mount");
if (current_mount_str)