From 3fa28d9a952aeb91800784721715c0a2ee77c675 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Tue, 13 Mar 2012 11:40:19 -0400 Subject: [PATCH] regressions: Fix typo in ck_queue regressions, _GNU_SOURCE also needed. --- regressions/ck_queue/validate/Makefile | 2 +- regressions/ck_queue/validate/ck_list.c | 2 +- regressions/ck_queue/validate/ck_slist.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regressions/ck_queue/validate/Makefile b/regressions/ck_queue/validate/Makefile index 4f353b8..6ccb97d 100644 --- a/regressions/ck_queue/validate/Makefile +++ b/regressions/ck_queue/validate/Makefile @@ -15,4 +15,4 @@ clean: rm -rf *~ *.o $(OBJECTS) *.dSYM include ../../../build/regressions.build -CFLAGS+=$(PTHREAD_CFLAGS) +CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE diff --git a/regressions/ck_queue/validate/ck_list.c b/regressions/ck_queue/validate/ck_list.c index 21b9dae..b8beb9d 100644 --- a/regressions/ck_queue/validate/ck_list.c +++ b/regressions/ck_queue/validate/ck_list.c @@ -140,7 +140,7 @@ main(int argc, char *argv[]) goal = atoi(argv[2]); if (goal < 4) { - fprintf(stderr, "ERROR: Number of entires must be >= 4.\n"); + fprintf(stderr, "ERROR: Number of entries must be >= 4.\n"); exit(EXIT_FAILURE); } diff --git a/regressions/ck_queue/validate/ck_slist.c b/regressions/ck_queue/validate/ck_slist.c index 63d2355..7b98a49 100644 --- a/regressions/ck_queue/validate/ck_slist.c +++ b/regressions/ck_queue/validate/ck_slist.c @@ -140,7 +140,7 @@ main(int argc, char *argv[]) goal = atoi(argv[2]); if (goal < 4) { - fprintf(stderr, "ERROR: Number of entires must be >= 4.\n"); + fprintf(stderr, "ERROR: Number of entries must be >= 4.\n"); exit(EXIT_FAILURE); }