aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/lockdep_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lockdep_proc.c')
-rw-r--r--kernel/lockdep_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c
index fba81f16e346..5dbe30b4e591 100644
--- a/kernel/lockdep_proc.c
+++ b/kernel/lockdep_proc.c
@@ -634,7 +634,7 @@ static void *ls_start(struct seq_file *m, loff_t *pos)
634 if (*pos == 0) 634 if (*pos == 0)
635 return SEQ_START_TOKEN; 635 return SEQ_START_TOKEN;
636 636
637 data->iter = data->stats + *pos; 637 data->iter = data->stats + (*pos - 1);
638 if (data->iter >= data->iter_end) 638 if (data->iter >= data->iter_end)
639 data->iter = NULL; 639 data->iter = NULL;
640 640