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
Convert GRAS pid from long int to int; setup a virtualization layer in XBT to choose...
[simgrid.git]
/
src
/
xbt
/
ex.c
diff --git
a/src/xbt/ex.c
b/src/xbt/ex.c
index
075ab29
..
645acba
100644
(file)
--- a/
src/xbt/ex.c
+++ b/
src/xbt/ex.c
@@
-245,13
+245,13
@@
void xbt_ex_display(xbt_ex_t *e) {
char *thrower=NULL;
if (e->remote)
char *thrower=NULL;
if (e->remote)
- bprintf(" on host %s(%
l
d)",e->host,e->pid);
+ bprintf(" on host %s(%d)",e->host,e->pid);
fprintf(stderr,
fprintf(stderr,
- "** SimGrid: UNCAUGHT EXCEPTION received on %s(%
l
d): category: %s; value: %d\n"
+ "** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n"
"** %s\n"
"** Thrown by %s()%s\n",
"** %s\n"
"** Thrown by %s()%s\n",
- gras_os_myname(),
gras_os_getpid
(),
+ gras_os_myname(),
(*xbt_getpid)
(),
xbt_ex_catname(e->category), e->value, e->msg,
e->procname,thrower?thrower:" in this process");
CRITICAL1("%s",e->msg);
xbt_ex_catname(e->category), e->value, e->msg,
e->procname,thrower?thrower:" in this process");
CRITICAL1("%s",e->msg);