diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-09-07 18:40:56 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-09-07 18:40:56 +0200 |
commit | 494cf4879f4ad468ba7c5d02e756db20df8822c2 (patch) | |
tree | 495ac5b094691030654c2bb2259c9fe0f101cc7f /sysdeps/generic/pt-attr-setschedparam.c | |
parent | c28241162c00127bb5c0d03bbbbfc835a15e8f68 (diff) | |
parent | c2a1b325b7b2ce0d3d16bd1e9430e1d7eddce71e (diff) |
Merge commit 'refs/top-bases/t/fix_inline' into t/fix_inline
Diffstat (limited to 'sysdeps/generic/pt-attr-setschedparam.c')
-rw-r--r-- | sysdeps/generic/pt-attr-setschedparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-attr-setschedparam.c b/sysdeps/generic/pt-attr-setschedparam.c index 18a575e..5459f10 100644 --- a/sysdeps/generic/pt-attr-setschedparam.c +++ b/sysdeps/generic/pt-attr-setschedparam.c @@ -30,7 +30,7 @@ pthread_attr_setschedparam (pthread_attr_t *attr, if (memcmp (param, &__pthread_default_attr.schedparam, sizeof *param) == 0) { - attr->schedparam = *param; + memcpy (&attr->schedparam, param, sizeof *param); return 0; } |