/* args = arguements, printf style */
/* This routine sends a class SMS zephyrgram of specified instance
and logs to a special logfile the message passed to it via msg
- and args in printf format. */
+ and args in printf format. *** It expects the global variable
+ whoami to be defined and contain the name of the calling program. */
/* Note: The part of this code that process the variable arguements
was stolen from sprintf(). */
{
fprintf(crit, "%s <%d> %s\n", time_s, getpid(), buf);
fclose(crit);
}
+
+ com_err(whoami, 0, buf);
}