From 240d30c8c498c8d716c44046931ce8d8a26f8006 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 18 Apr 2014 15:40:09 -0400 Subject: [PATCH] regressions/ck_swlock: Fix-up style and Copyright. --- regressions/ck_swlock/validate/Makefile | 2 +- regressions/ck_swlock/validate/validate.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regressions/ck_swlock/validate/Makefile b/regressions/ck_swlock/validate/Makefile index 54d62f2..a4f31fd 100644 --- a/regressions/ck_swlock/validate/Makefile +++ b/regressions/ck_swlock/validate/Makefile @@ -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 diff --git a/regressions/ck_swlock/validate/validate.c b/regressions/ck_swlock/validate/validate.c index 8999236..28250eb 100644 --- a/regressions/ck_swlock/validate/validate.c +++ b/regressions/ck_swlock/validate/validate.c @@ -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");