summaryrefslogtreecommitdiff
path: root/src/tet3/tcclib/mktmpdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tet3/tcclib/mktmpdir.c')
-rw-r--r--src/tet3/tcclib/mktmpdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tet3/tcclib/mktmpdir.c b/src/tet3/tcclib/mktmpdir.c
index a9858d05..30bb6992 100644
--- a/src/tet3/tcclib/mktmpdir.c
+++ b/src/tet3/tcclib/mktmpdir.c
@@ -90,7 +90,7 @@ char *dir, **subdp;
ASSERT(dir && *dir);
/* format the pid string */
- (void) sprintf(pidstr, "%05u", tet_mypid);
+ sprintf(pidstr, "%05u", tet_mypid);
/* get a buffer for the tmp dir name */
needlen = strlen(dir) + strlen(pidstr) + 4;
@@ -100,7 +100,7 @@ char *dir, **subdp;
/* try to make the directory a few times */
for (salt1 = 'a'; salt1 <= 'z'; salt1++)
for (salt2 = 'a'; salt2 <= 'z'; salt2++) {
- (void) sprintf(subdir, "%s/%s%c%c",
+ sprintf(subdir, "%s/%s%c%c",
dir, pidstr, salt1, salt2);
if ((rc = tcf_mktd2(subdir)) < 0)
return(rc);