From bd10b531314ec546d25fd238f27d94c74a726567 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 13 Oct 1997 21:02:57 +0000 Subject: - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal. --- sail/pl_1.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sail/pl_1.c') diff --git a/sail/pl_1.c b/sail/pl_1.c index 9c0e0100..2e461805 100644 --- a/sail/pl_1.c +++ b/sail/pl_1.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_1.c,v 1.4 1997/10/13 19:44:53 christos Exp $ */ +/* $NetBSD: pl_1.c,v 1.5 1997/10/13 21:04:02 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,13 +38,14 @@ #if 0 static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_1.c,v 1.4 1997/10/13 19:44:53 christos Exp $"); +__RCSID("$NetBSD: pl_1.c,v 1.5 1997/10/13 21:04:02 christos Exp $"); #endif #endif /* not lint */ #include "player.h" #include #include +#include /* * If we get here before a ship is chosen, then ms == 0 and @@ -106,13 +107,14 @@ int conditions; if (ms != 0) { logger(ms); if (conditions != LEAVE_SYNC) { - makesignal(ms, "Captain %s relinquishing.", - (struct ship *)0, mf->captain); + makemsg(ms, "Captain %s relinquishing.", + mf->captain); Write(W_END, ms, 0, 0, 0, 0, 0); (void) Sync(); } } sync_close(!hasdriver); + sleep(5); cleanupscreen(); exit(0); } -- cgit v1.2.3