2003-10-21 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / sim / common / callback.c
index b22548182b5c70c89d0e29621b9b3318bfaa2a13..aa2cf076bd3505d3b2898f8971905bfc7f196d55 100644 (file)
@@ -420,7 +420,7 @@ os_truncate (p, file, len)
      const char *file;
      long len;
 {
-  return wrap (p, stat (file, len));
+  return wrap (p, truncate (file, len));
 }
 
 static int
This page took 0.026721 seconds and 4 git commands to generate.