]> mj.ucw.cz Git - libucw.git/blobdiff - lib/buckettool.c
Define setproctitle() and use it for gatherer thread status reporting.
[libucw.git] / lib / buckettool.c
index c46cf425023a9e724352306459ff5381dc41aa22..f64da2da821ecd715fe86633d0c7ea75ca4354b5 100644 (file)
@@ -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");