aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2018-07-14 15:50:49 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2018-07-14 15:50:49 +0200
commit240ac83888935d375df25b2da93e05c645d67631 (patch)
treef8ce00ab7555a159525c2db35d5cde88e1aed41c
parent0701f0e885e62598c0b048bf56f8a952e66ab2c4 (diff)
downloadallocbench-240ac83888935d375df25b2da93e05c645d67631.tar.gz
allocbench-240ac83888935d375df25b2da93e05c645d67631.zip
end memusage output even if we don't exit because of the child
-rw-r--r--memusage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/memusage.c b/memusage.c
index 16c166a..1342ada 100644
--- a/memusage.c
+++ b/memusage.c
@@ -187,5 +187,6 @@ int main(int argc, char **argv)
}
/* This should never be reached we exit when our child exits */
- return 1;
+ fprintf(stderr, "# End memusage\n");
+ return 0;
}