I see a typo. You are checking errno instead of errnum.

-Nathan

On Mon, Jun 29, 2015 at 01:28:11PM +0200, Åke Sandgren wrote:
> Hi!
> 
> static inline int ompi_mpi_errnum_is_class ( int errnum )
> {
>     ompi_mpi_errcode_t *err;
> 
>     if (errno < 0) {
>         return false;
>     }
> 
> I assume it should be errnum < 0.
> 
> -- 
> Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> Internet: a...@hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90-580 14
> Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/06/27208.php

Attachment: pgpdEhO4Nupn_.pgp
Description: PGP signature

Reply via email to