diff options
author | Alon Levy <alevy@redhat.com> | 2011-04-21 03:47:26 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-04-21 03:47:26 +0300 |
commit | 5185c3e38a547f5c4acc79a47ef1d1f4c08f251c (patch) | |
tree | 66f9ca63720cfe1d4577651bc759c41d73fa39ec | |
parent | 87fa07b475c89bfdbcf91a4099ae3862997da087 (diff) |
(temp) break driver on bad __GetPath
-rw-r--r-- | display/res.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/display/res.c b/display/res.c index e6c63d3..34c9fe9 100644 --- a/display/res.c +++ b/display/res.c @@ -921,6 +921,10 @@ static Resource *__GetPath(PDev *pdev, PATHOBJ *path) &pdev->Res->num_path_pages); DEBUG_PRINT((pdev, 13, "%s: done\n", __FUNCTION__)); + if (!res) { + DEBUG_PRINT((pdev, 0, "%s: failed\n", __FUNCTION__)); + EngDebugBreak(); + } return res; } |