diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-04-21 15:44:25 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-04-21 15:44:25 +0000 |
| commit | 905ec0db3b87b0a5b286382ac1f8110096d1d4fb (patch) | |
| tree | 9f98869610b0497a005ce7b70e89188cc32ae61c /lib/libc | |
| parent | 66250360821be817a7764a370c7b1ef8c1d6814e (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/include/nss_tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/include/nss_tls.h b/lib/libc/include/nss_tls.h index be6b74f8f0e2..999d1989e68b 100644 --- a/lib/libc/include/nss_tls.h +++ b/lib/libc/include/nss_tls.h @@ -64,7 +64,7 @@ name##_getstate(struct name##_state **p) \ *p = _pthread_getspecific(name##_state_key); \ if (*p != NULL) \ return (0); \ - *p = calloc(1, sizeof(*p)); \ + *p = calloc(1, sizeof(**p)); \ if (*p == NULL) \ return (ENOMEM); \ rv = _pthread_setspecific(name##_state_key, *p); \ |
