IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/command.c

    r4470 r7917  
    4949    char *msg;
    5050    msg = get_variable_ptr ("ERRORMSG");
    51     if (msg != (char *) NULL) fprintf (stderr, "%s\n", msg);
     51    if (msg != (char *) NULL) gprint (GP_ERR, "%s\n", msg);
    5252  }
    5353
    5454  set_int_variable ("STATUS", status);
    55   if (VERBOSE) fprintf (stderr, "command: %s, status: %d\n", line, status);
     55  if (VERBOSE) gprint (GP_ERR, "command: %s, status: %d\n", line, status);
    5656  return (status);
    5757}
Note: See TracChangeset for help on using the changeset viewer.