Skip to content
Snippets Groups Projects
Commit a16c366a authored by Jim Garlick's avatar Jim Garlick
Browse files

add rcs header to xerrno.c

correct warning in qsw.c
parent cc05d5aa
No related branches found
No related tags found
No related merge requests found
......@@ -567,8 +567,9 @@ qsw_prog_init(qsw_jobinfo_t jobinfo, uid_t uid)
goto fail;
}
#else
/* See qsw gnat sw-elan/4334 - elan3_control_open can return -1 on error */
if ((jobinfo->j_ctx = elan3_control_open(0)) == NULL || jobinfo->j_ctx == -1) {
/* see qsw gnat sw-elan/4334: elan3_control_open can return -1 */
if ((jobinfo->j_ctx = elan3_control_open(0)) == NULL
|| jobinfo->j_ctx == (void *)-1) {
xseterrno(EELAN3CONTROL);
goto fail;
}
......
/*
* $Id$
* $Source$
*/
#include <errno.h>
#include <stdio.h>
#include <string.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment