X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/02fe42131b13d6d891ff267849354288bc600bd5..a816420bb99d1bd3051bc633a1608cd84779a05b:/lib/critical.c diff --git a/lib/critical.c b/lib/critical.c index c1410e17..f4ef4b2d 100644 --- a/lib/critical.c +++ b/lib/critical.c @@ -33,15 +33,13 @@ RCSID("$Header$"); /* mode to create the file with */ #define LOGFILEMODE 0644 -extern char *whoami; - /* This routine sends a class MOIRA zephyrgram of specified instance * and logs to a special logfile the message passed to it via msg * and args in printf format. *** It expects the global variable * whoami to be defined and contain the name of the calling program. */ -void critical_alert(char *instance, char *msg, ...) +void critical_alert(char *whoami, char *instance, char *msg, ...) { FILE *crit; char *buf;