ext Peter Hutterer wrote:
5b9a52be7e975e59e0bbc6b43539ecaff96b2ecd changed the server to use OsAbort()
instead of abort(). xinput in dmx is a client program though and fails to
link if it tries to use OsAbort(). Switch it back to using abort().

Signed-off-by: Peter Hutterer <[email protected]>
CC: Rami Ylimaki <[email protected]>
---
 hw/dmx/examples/xinput.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/dmx/examples/xinput.c b/hw/dmx/examples/xinput.c
index 7421be3..b12daf2 100644
--- a/hw/dmx/examples/xinput.c
+++ b/hw/dmx/examples/xinput.c
@@ -233,7 +233,7 @@ int main(int argc, char **argv)
         int         total = 0;
#define ADD(type) \
-        if (cnt >= MAX_EVENTS) OsAbort();             \
+        if (cnt >= MAX_EVENTS) abort();             \
         names[cnt] = #type;                           \
         type(dev, event_type[cnt], event_list[cnt]);  \
         if (event_type[cnt]) ++cnt
Sorry about that, I didn't check the context well enough.

Reviewed-by: Rami Ylimaki <[email protected]>

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to