summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2010-10-26 01:09:05 +0800
committerAustin Yuan <shengquan.yuan@gmail.com>2010-10-26 01:09:05 +0800
commit514c74b950a0ac3eb492f50a58f7ff065c7ffcff (patch)
tree6d157c7bcc9613b782b1aefb83a89e366cefb26e /va
parentbbab1ceffb3124bb34b556923815082226ed302b (diff)
downloadlibva-514c74b950a0ac3eb492f50a58f7ff065c7ffcff.tar.gz
fix truncate_file issue
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va')
-rw-r--r--va/va_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/va/va_trace.c b/va/va_trace.c
index b20379e..f979865 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -224,7 +224,7 @@ static unsigned int file_size(FILE *fp)
}
-static void truncate_size(FILE *fp)
+static void truncate_file(FILE *fp)
{
ftruncate(fileno(fp), 0);
rewind(fp);