summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-01-27 22:46:15 +0000
committermarcel <marcel@FreeBSD.org>2005-01-27 22:46:15 +0000
commit8c11911620c334e21c9f9b60b778ef10b9ab4282 (patch)
tree75e75f4d07fd9be01e6574f336952b0da17bc597 /tools/regression
parent20bbcd4c386aabbe7f8c708d33fe7cc8e174c209 (diff)
downloadFreeBSD-src-8c11911620c334e21c9f9b60b778ef10b9ab4282.zip
FreeBSD-src-8c11911620c334e21c9f9b60b778ef10b9ab4282.tar.gz
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.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/ia64/unaligned/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/ia64/unaligned/test.c b/tools/regression/ia64/unaligned/test.c
index 936f355..dc406b1 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)
OpenPOWER on IntegriCloud