minix/lib/utils/srvr_report.c

21 lines
553 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include "utils.h"
/*===========================================================================*
* server_report *
*===========================================================================*/
PUBLIC void server_report(who, mess, num)
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);
}
}