minix/lib/utils/report.c

21 lines
544 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include "utils.h"
/*===========================================================================*
* report *
2005-04-21 16:53:53 +02:00
*===========================================================================*/
PUBLIC void report(who, mess, num)
2005-04-21 16:53:53 +02:00
char *who; /* server identification */
char *mess; /* message format to print */
int num; /* number to go with the message */
{
/* Display a message for a server. */
if (num != NO_NUM) {
printf("%s: %s %d\n", who, mess, num);
} else {
printf("%s: %s\n", who, mess);
}
}