aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-basic2.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-10-25 14:43:10 -0700
committerRoland McGrath <roland@hack.frob.com>2012-10-25 14:43:10 -0700
commitc0a1472e2272045d6520eb92f6a5438e2323b79b (patch)
tree705ac5ed525befa41be5af183cd1f51050632831 /nptl/tst-basic2.c
parentdf381762dc462d62b4a2994fa6399f5cfa8891a3 (diff)
downloadglibc-c0a1472e2272045d6520eb92f6a5438e2323b79b.zip
glibc-c0a1472e2272045d6520eb92f6a5438e2323b79b.tar.gz
glibc-c0a1472e2272045d6520eb92f6a5438e2323b79b.tar.bz2
Fix compiler warnings in some NPTL tests.
Diffstat (limited to 'nptl/tst-basic2.c')
-rw-r--r--nptl/tst-basic2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/tst-basic2.c b/nptl/tst-basic2.c
index 58ed6ac..0d3cc06 100644
--- a/nptl/tst-basic2.c
+++ b/nptl/tst-basic2.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -112,7 +112,7 @@ do_test (void)
result = 1;
}
- return 0;
+ return result;
}