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
fp => fd (for file descriptor)
[simgrid.git]
/
src
/
msg
/
msg_io.c
diff --git
a/src/msg/msg_io.c
b/src/msg/msg_io.c
index
09188a3
..
a61f4b1
100644
(file)
--- a/
src/msg/msg_io.c
+++ b/
src/msg/msg_io.c
@@
-76,15
+76,15
@@
msg_file_t MSG_file_open(const char* mount, const char* path, const char* mode)
/** \ingroup msg_file_management
* \brief Close the file
*
/** \ingroup msg_file_management
* \brief Close the file
*
- * \param f
p
is the file to close
+ * \param f
d
is the file to close
* \return 0 on success or 1 on error
*/
* \return 0 on success or 1 on error
*/
-int MSG_file_close(msg_file_t f
p
)
+int MSG_file_close(msg_file_t f
d
)
{
{
- int res = simcall_file_close(f
p
->simdata->smx_file);
- free(f
p
->name);
- xbt_free(f
p
->simdata);
- xbt_free(f
p
);
+ int res = simcall_file_close(f
d
->simdata->smx_file);
+ free(f
d
->name);
+ xbt_free(f
d
->simdata);
+ xbt_free(f
d
);
return res;
}
return res;
}