diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-01-27 22:46:15 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2005-01-27 22:46:15 +0000 |
commit | 0335d35b091631f9d896cc9b49a065556e45008d (patch) | |
tree | 75e75f4d07fd9be01e6574f336952b0da17bc597 /tools | |
parent | 286fceb541406946a69898ff8f2e43ae5e345e0b (diff) | |
download | src-0335d35b091631f9d896cc9b49a065556e45008d.tar.gz src-0335d35b091631f9d896cc9b49a065556e45008d.zip |
Fix the unaligned store with post increment test: The misaligned pointer
stopped pointing to the value the moment we wrote it due to the post
increment. So, grab the value for comparison out of the data structure
directly.
Notes
Notes:
svn path=/head/; revision=140918
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/ia64/unaligned/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/ia64/unaligned/test.c b/tools/regression/ia64/unaligned/test.c index 936f3557623d..dc406b115783 100644 --- a/tools/regression/ia64/unaligned/test.c +++ b/tools/regression/ia64/unaligned/test.c @@ -178,7 +178,7 @@ main() return (1); # endif - memcpy(aligned, misaligned, sizeof(DATA_TYPE)); + memcpy(aligned, data.misaligned, sizeof(DATA_TYPE)); #endif if (*aligned != value) |