diff options
author | germeier <germeier> | 2002-09-19 21:25:07 +0000 |
---|---|---|
committer | germeier <germeier> | 2002-09-19 21:25:07 +0000 |
commit | cf208d020339d2c0e755d6de1a5b312328908a4e (patch) | |
tree | 8776f73ed08a3766e4ff4c37f2a2792a6c8c1c5a /libmpio | |
parent | 7d92b803c4808c6e5c7e43f064e532eaf0ec0fbd (diff) | |
download | mpiosh-cf208d020339d2c0e755d6de1a5b312328908a4e.tar.gz mpiosh-cf208d020339d2c0e755d6de1a5b312328908a4e.tar.bz2 mpiosh-cf208d020339d2c0e755d6de1a5b312328908a4e.zip |
fixed handling of an abort
fixed buggy define
Diffstat (limited to 'libmpio')
-rw-r--r-- | libmpio/mpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpio/mpio.c b/libmpio/mpio.c index ea0f23c..f1637cc 100644 --- a/libmpio/mpio.c +++ b/libmpio/mpio.c @@ -1,6 +1,6 @@ /* * - * $Id: mpio.c,v 1.21 2002/09/19 20:46:02 crunchy Exp $ + * $Id: mpio.c,v 1.22 2002/09/19 21:25:07 germeier Exp $ * * Library for USB MPIO-* * @@ -73,7 +73,7 @@ static const int mpio_error_num = sizeof mpio_errors / sizeof(mpio_error_t); static int _mpio_errno = 0; -#define MPIO_ERR_RETURN(err) _mpio_errno = err; return -1 +#define MPIO_ERR_RETURN(err) { _mpio_errno = err; return -1 ; } void mpio_init_internal(mpio_t *); void mpio_init_external(mpio_t *); |