diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2014-09-30 17:19:07 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2014-09-30 17:19:07 +0000 |
| commit | c3db6aa680cf2ef0dc85729e9a75f425db61932c (patch) | |
| tree | de50215e7f52a76b36e69320ac311d9c6833e8bc /tools/sched | |
| parent | a6aedc5d49025f8bb5d2b675d3748aa402ffb879 (diff) | |
Notes
Diffstat (limited to 'tools/sched')
| -rw-r--r-- | tools/sched/schedgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py index 4335574972e5..e5925141e69c 100644 --- a/tools/sched/schedgraph.py +++ b/tools/sched/schedgraph.py @@ -856,7 +856,7 @@ class EventSource: return (Y_EVENTSOURCE) def eventat(self, i): - if (i >= len(self.events)): + if (i >= len(self.events) or i < 0): return (None) event = self.events[i] return (event) |
