From: Martin Mares Date: Thu, 15 Mar 2001 22:22:34 +0000 (+0000) Subject: Use sh_ftruncate() instead of ftruncate(). X-Git-Tag: holmes-import~1511 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1cfd326f0911ec6ead8c66e43e902fea8ba4f66f;p=libucw.git Use sh_ftruncate() instead of ftruncate(). --- diff --git a/lib/buckettool.c b/lib/buckettool.c index c46cf425..f64da2da 100644 --- a/lib/buckettool.c +++ b/lib/buckettool.c @@ -192,7 +192,7 @@ fsck(int fix) if (fix) { printf("*** truncating file\n"); - ftruncate(fd, pos); + sh_ftruncate(fd, pos); } else printf("*** would truncate the file here\n");