summaryrefslogtreecommitdiff
path: root/util/m5
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-04-26 16:43:03 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-05-08 09:39:07 +0000
commita17c9a9936a53a4cb6f60c983891dc1d797619e2 (patch)
treea59c13a4b846bc1084bdf3141c2499009ca80c3f /util/m5
parentb043f37b67b370e723b7ea11e6c71204291b2bc6 (diff)
downloadgem5-a17c9a9936a53a4cb6f60c983891dc1d797619e2.tar.xz
util: Fix incorrect return type in m5 writefile
Change-Id: Ic24a1c3c1488e970ed27bb6b99262d201f535384 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/2960 Reviewed-by: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'util/m5')
-rw-r--r--util/m5/m5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/m5/m5.c b/util/m5/m5.c
index 118ac9447..8e6f4fc59 100644
--- a/util/m5/m5.c
+++ b/util/m5/m5.c
@@ -122,7 +122,7 @@ read_file(int dest_fid)
}
}
-int
+void
write_file(const char *filename)
{
fprintf(stderr, "opening %s\n", filename);