aboutsummaryrefslogtreecommitdiff
path: root/sim/common/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r--sim/common/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c
index b225481..aa2cf07 100644
--- a/sim/common/callback.c
+++ b/sim/common/callback.c
@@ -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