diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-04-05 02:29:51 -0300 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-08 16:09:58 +0930 |
commit | 2c8df6b6d097f93c5a8ccd085aa33f09dddde969 (patch) | |
tree | 418905b066e146c7966229b9389e344ea4039ae4 /src | |
parent | e807e5a88af379cad14331b787ed32a45553f8f3 (diff) |
Don't call xf86GetErrno(), instead use errno directly.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
Diffstat (limited to 'src')
-rw-r--r-- | src/elo.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -54,6 +54,8 @@ #include "config.h" #endif +#include <errno.h> + #define _elo_C_ /***************************************************************************** * Standard Headers @@ -159,7 +161,7 @@ SetupProc( pointer module, { xf86ErrorF ("ELO 2300 driver unable to open device\n"); *errmaj = LDR_NOPORTOPEN; - *errmin = xf86GetErrno (); + *errmin = errno; goto SetupProc_fail; } xf86ErrorFVerb( 6, "tty port opened successfully\n" ); |