<div dir="ltr">Reviewed-by: Jasper St. Pierre <<a href="mailto:jstpierre@mecheye.net">jstpierre@mecheye.net</a>></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 29, 2013 at 7:25 PM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Peter Hutterer <<a href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>><br>
---<br>
 os/backtrace.c | 5 +++--<br>
 1 file changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/os/backtrace.c b/os/backtrace.c<br>
index 426f9b1..3d1195b 100644<br>
--- a/os/backtrace.c<br>
+++ b/os/backtrace.c<br>
@@ -114,14 +114,15 @@ xorg_backtrace(void)<br>
 void<br>
 xorg_backtrace(void)<br>
 {<br>
-    void *array[64];<br>
+    const int BT_SIZE = 64;<br>
+    void *array[BT_SIZE];<br>
     const char *mod;<br>
     int size, i;<br>
     Dl_info info;<br>
<br>
     ErrorFSigSafe("\n");<br>
     ErrorFSigSafe("Backtrace:\n");<br>
-    size = backtrace(array, 64);<br>
+    size = backtrace(array, BT_SIZE);<br>
     for (i = 0; i < size; i++) {<br>
         int rc = dladdr(array[i], &info);<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.8.3.1<br>
<br>
_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>