diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-07 17:34:48 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-07 17:34:48 +0000 |
| commit | a06f15e4b8ad0fe4fc39937f16cd9a4f1ca3252f (patch) | |
| tree | 09782889e4efbc2bf2c4f2dee864cfcd875cb822 | |
| parent | 036f8336fa6365aef2f55506efe5ccf7da33e2b0 (diff) | |
Notes
| -rw-r--r-- | lib/libc/stdio/findfp.c | 2 |
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 */ |
