Skip to content

Commit 905c43a

Browse files
committed
test/test-atomic_store_n: fix incorrect 2nd arg of test call
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
1 parent 8063e21 commit 905c43a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test-atomic_store_n.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int main(int argc, char **argv)
2222
int val = 1;
2323
int var;
2424

25-
__atomic_store_n(&var, &val, __ATOMIC_SEQ_CST);
25+
__atomic_store_n(&var, val, __ATOMIC_SEQ_CST);
2626

2727
return 0;
2828
}

0 commit comments

Comments
 (0)