#ifndef lint
static	char sccsid[] = "@(#)out.c 1.1 94/10/31 SMI"; /* from UCB 4.1 03/23/83 */
#endif

# include	"trek.h"

/*
**  Announce Device Out
*/

out(dev)
int	dev;
{
	register struct device	*d;

	d = &Device[dev];
	printf("%s reports %s ", d->person, d->name);
	if (d->name[length(d->name) - 1] == 's')
		printf("are");
	else
		printf("is");
	printf(" damaged\n");
}
