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

    r2598 r7917  
    77
    88  if (argc != 2) {
    9     fprintf (stderr, "USAGE: macro delete <macro>\n");
     9    gprint (GP_ERR, "USAGE: macro delete <macro>\n");
    1010    return (FALSE);
    1111  }
     
    1313  macro = MatchMacro (argv[1], FALSE, TRUE);
    1414  if (macro == NULL) {
    15     fprintf (stderr, "Macro %s not found\n", argv[1]);
     15    gprint (GP_ERR, "Macro %s not found\n", argv[1]);
    1616    return (FALSE);
    1717  }
    1818  cmd = MatchCommand (argv[1], FALSE, TRUE);
    1919  if (cmd == NULL) {
    20     fprintf (stderr, "programming error: macro exists but not command\n");
     20    gprint (GP_ERR, "programming error: macro exists but not command\n");
    2121    return (FALSE);
    2222  }
Note: See TracChangeset for help on using the changeset viewer.