]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix typo, courtesy of Aleksander Salwa.
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 20 Oct 2004 14:22:58 +0000 (14:22 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 20 Oct 2004 14:22:58 +0000 (14:22 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2823

coregrind/vg_libpthread.c

index 1fa7acf101a78080b44f1d3905090721a9a007a3..db6a726b8052697d199750709eb280883db9a73b 100644 (file)
@@ -1068,7 +1068,7 @@ pthread_create (pthread_t *__restrict __thredd,
    info->arg     = __arg;
    sigprocmask(SIG_SETMASK, NULL, &info->sigmask);
 
-   if (__attr) {
+   if (__vg_attr) {
       si.base = (Addr)__vg_attr->__vg_stackaddr;
       si.size = __vg_attr->__vg_stacksize;
       si.guardsize = __vg_attr->__vg_guardsize;