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-getschedparam.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-getschedparam.c')
-rw-r--r-- | sysdeps/generic/pt-attr-getschedparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-attr-getschedparam.c b/sysdeps/generic/pt-attr-getschedparam.c index 25afebd..6c3f15b 100644 --- a/sysdeps/generic/pt-attr-getschedparam.c +++ b/sysdeps/generic/pt-attr-getschedparam.c @@ -26,6 +26,6 @@ int pthread_attr_getschedparam (const pthread_attr_t *attr, struct sched_param *param) { - *param = attr->schedparam; + memcpy (param, &attr->schedparam, sizeof *param); return 0; } |