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/task_host.c

    r6687 r7917  
    1313
    1414  if (argc != 2) {
    15     fprintf (stderr, "USAGE: host <name> [-required]\n");
    16     fprintf (stderr, "  define host machine for this task\n");
    17     fprintf (stderr, "  -required flags indicates controller must use this host\n");
    18     fprintf (stderr, "  value of 'local' for host indicates process not using controller\n");
    19     fprintf (stderr, "  value of 'anyhost' for host indicates controller may assign at will\n");
     15    gprint (GP_ERR, "USAGE: host <name> [-required]\n");
     16    gprint (GP_ERR, "  define host machine for this task\n");
     17    gprint (GP_ERR, "  -required flags indicates controller must use this host\n");
     18    gprint (GP_ERR, "  value of 'local' for host indicates process not using controller\n");
     19    gprint (GP_ERR, "  value of 'anyhost' for host indicates controller may assign at will\n");
    2020    return (FALSE);
    2121  }
     
    2525    task = GetActiveTask ();
    2626    if (task == NULL) {
    27       fprintf (stderr, "ERROR: not defining or running a task\n");
     27      gprint (GP_ERR, "ERROR: not defining or running a task\n");
    2828      return (FALSE);
    2929    }
Note: See TracChangeset for help on using the changeset viewer.