From 1cfd326f0911ec6ead8c66e43e902fea8ba4f66f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 15 Mar 2001 22:22:34 +0000 Subject: [PATCH] Use sh_ftruncate() instead of ftruncate(). --- lib/buckettool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.2