summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-02-07 17:34:48 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-02-07 17:34:48 +0000
commita06f15e4b8ad0fe4fc39937f16cd9a4f1ca3252f (patch)
tree09782889e4efbc2bf2c4f2dee864cfcd875cb822 /lib/libc/stdio
parent036f8336fa6365aef2f55506efe5ccf7da33e2b0 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/findfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c
index 50edcb6d5a77..30e8f901a4a1 100644
--- a/lib/libc/stdio/findfp.c
+++ b/lib/libc/stdio/findfp.c
@@ -129,7 +129,7 @@ __sfp()
goto found;
}
THREAD_UNLOCK(); /* don't hold lock while malloc()ing. */
- if ((g == moreglue(NDYNAMIC)) == NULL)
+ if ((g = moreglue(NDYNAMIC)) == NULL)
return (NULL);
THREAD_LOCK(); /* reacquire the lock */
SET_GLUE_PTR(lastglue->next, g); /* atomically append glue to list */