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/cmd.astro/objload.c

    r7680 r7917  
    2727
    2828  if (argc != 3) {
    29     fprintf (stderr, "USAGE: objload (overlay) <filename>\n");
     29    gprint (GP_ERR, "USAGE: objload (overlay) <filename>\n");
    3030    return (FALSE);
    3131  }
     
    3333  f = fopen (argv[2], "r");
    3434  if (f == (FILE *) NULL) {
    35     fprintf (stderr, "ERROR: can't find object file %s\n", argv[2]);
     35    gprint (GP_ERR, "ERROR: can't find object file %s\n", argv[2]);
    3636    return (FALSE);
    3737  }
     
    6969  free (line);
    7070
    71   fprintf (stderr, "loaded %d objects\n", Noverlay);
     71  gprint (GP_ERR, "loaded %d objects\n", Noverlay);
    7272  return (TRUE);
    7373}
Note: See TracChangeset for help on using the changeset viewer.