From: Andreas Sandberg Date: Wed, 26 Apr 2017 16:43:03 +0000 (+0000) Subject: util: Fix incorrect return type in m5 writefile X-Git-Tag: v19.0.0.0~2821 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a17c9a9936a53a4cb6f60c983891dc1d797619e2;p=gem5.git 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 --- 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);