IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2010, 3:47:36 PM (16 years ago)
Author:
eugene
Message:

pendatic checking fscan, system, and mkstemp return values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/elixir.c

    r27435 r27611  
    4646
    4747  sprintf (msgfile, "%s/EMsg.XXXXXX", fifodir);
    48   mkstemp (msgfile);
     48  if (mkstemp (msgfile) == -1) {
     49    gprint (GP_ERR, "can't create fifo\n");
     50    return (FALSE);
     51  }
    4952  sprintf (message, "%s %s", cmd, msgfile);
    5053  unlink (msgfile);
Note: See TracChangeset for help on using the changeset viewer.