From a17c9a9936a53a4cb6f60c983891dc1d797619e2 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Wed, 26 Apr 2017 16:43:03 +0000 Subject: util: Fix incorrect return type in m5 writefile Change-Id: Ic24a1c3c1488e970ed27bb6b99262d201f535384 Signed-off-by: Andreas Sandberg Reviewed-by: Curtis Dunham Reviewed-on: https://gem5-review.googlesource.com/2960 Reviewed-by: Gabe Black --- util/m5/m5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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); -- cgit v1.2.3