summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-21 03:47:26 +0300
committerAlon Levy <alevy@redhat.com>2011-04-21 03:47:26 +0300
commit5185c3e38a547f5c4acc79a47ef1d1f4c08f251c (patch)
tree66f9ca63720cfe1d4577651bc759c41d73fa39ec
parent87fa07b475c89bfdbcf91a4099ae3862997da087 (diff)
(temp) break driver on bad __GetPath
-rw-r--r--display/res.c4
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;
}