summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/tempname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c
index 1ade1b2e6..c1b211241 100644
--- a/libc/misc/internals/tempname.c
+++ b/libc/misc/internals/tempname.c
@@ -172,7 +172,7 @@ int __gen_tempname (char *tmpl, int kind)
XXXXXX[i] = letters[k];
}
- for (count = 0; count < TMP_MAX; value += 7777, ++count)
+ for (count = 0; count < TMP_MAX; ++count)
{
switch(kind) {
case __GT_NOCREATE: