summaryrefslogtreecommitdiff
path: root/src/tet3/tcclib/rmrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tet3/tcclib/rmrf.c')
-rw-r--r--src/tet3/tcclib/rmrf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tet3/tcclib/rmrf.c b/src/tet3/tcclib/rmrf.c
index 8ea627d8..03b76b7d 100644
--- a/src/tet3/tcclib/rmrf.c
+++ b/src/tet3/tcclib/rmrf.c
@@ -98,12 +98,12 @@ char *path;
** otherwise, this is a file so just unlink it
*/
if (S_ISDIR(stbuf.st_mode)) {
- (void) sprintf(file, "%.*s/", (int) sizeof file - 2, path);
+ sprintf(file, "%.*s/", (int) sizeof file - 2, path);
p = file + strlen(file);
if ((files = tcf_lsdir(path)) == (char **) 0)
return(-1);
for (fip = files; *fip; fip++) {
- (void) sprintf(p, "%.*s",
+ sprintf(p, "%.*s",
(int) sizeof file - (int) (p - file) - 1, *fip);
if (tcf_rmrf(file) < 0)
rc = -1;