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
re-adding output line of gtnets test
[simgrid.git]
/
examples
/
msg
/
priority
/
priority.c
diff --git
a/examples/msg/priority/priority.c
b/examples/msg/priority/priority.c
index
e5b6c62
..
9c5eb23
100644
(file)
--- a/
examples/msg/priority/priority.c
+++ b/
examples/msg/priority/priority.c
@@
-21,9
+21,9
@@
static int test(int argc, char *argv[])
m_task_t task = NULL;
int res = sscanf(argv[1], "%lg", &computation_amount);
m_task_t task = NULL;
int res = sscanf(argv[1], "%lg", &computation_amount);
- xbt_assert
1
(res, "Invalid argument %s\n", argv[1]);
+ xbt_assert(res, "Invalid argument %s\n", argv[1]);
res = sscanf(argv[2], "%lg", &priority);
res = sscanf(argv[2], "%lg", &priority);
- xbt_assert
1
(res, "Invalid argument %s\n", argv[2]);
+ xbt_assert(res, "Invalid argument %s\n", argv[2]);
XBT_INFO("Hello! Running a task of size %g with priority %g",
computation_amount, priority);
XBT_INFO("Hello! Running a task of size %g with priority %g",
computation_amount, priority);