regressions/ck_swlock: Fix-up style and Copyright.

ck_pring
Samy Al Bahra 11 years ago
parent 1997acde22
commit 240d30c8c4

@ -14,4 +14,4 @@ clean:
rm -rf *.dSYM *.exe *~ *.o $(OBJECTS)
include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE -O0

@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 Samy Al Bahra.
* Copyright 2014 Jaidev Sridhar.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -131,7 +131,7 @@ thread(void *arg)
{
unsigned int i = ITERATE;
unsigned int l;
int tid = *(int *) arg;
int tid = *(int *)arg;
if (aff_iterate(&a)) {
perror("ERROR: Could not affine thread");

Loading…
Cancel
Save