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/pantasks/scheduler.c

    r4689 r7917  
    5252    f = fopen (opihi_history, "a");
    5353    if (f == NULL) /* no current history file here */
    54       fprintf (stderr, "can't save history.\n");
     54      gprint (GP_ERR, "can't save history.\n");
    5555    else
    5656      fclose (f);
     
    6565/* standard welcome message */
    6666void welcome () {
    67   fprintf (stderr, "\n");
    68   fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
     67  gprint (GP_LOG, "\n");
     68  gprint (GP_LOG, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
    6969}
    7070
Note: See TracChangeset for help on using the changeset viewer.