aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sort.c b/lib/sort.c
index ea3caedeabdb..b73dbb0e7c83 100644
--- a/lib/sort.c
+++ b/lib/sort.c
@@ -90,7 +90,7 @@ int cmpint(const void *a, const void *b)
90 90
91static int sort_test(void) 91static int sort_test(void)
92{ 92{
93 int *a, i, r = 0; 93 int *a, i, r = 1;
94 94
95 a = kmalloc(1000 * sizeof(int), GFP_KERNEL); 95 a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
96 BUG_ON(!a); 96 BUG_ON(!a);