2003-10-21 Andrew Cagney <cagney@redhat.com>

* callback.c (os_truncate): Call "truncate", and not "stat".
This commit is contained in:
Andrew Cagney
2003-10-21 20:41:43 +00:00
parent af9ba62190
commit ee3073b541
2 changed files with 5 additions and 1 deletions

View 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