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/dr_4.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sail/dr_4.c') diff --git a/sail/dr_4.c b/sail/dr_4.c index fd8b0889..4d786dcc 100644 --- a/sail/dr_4.c +++ b/sail/dr_4.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_4.c,v 1.5 1997/10/13 19:43:39 christos Exp $ */ +/* $NetBSD: dr_4.c,v 1.6 1997/10/13 21:03:37 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_4.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: dr_4.c,v 1.5 1997/10/13 19:43:39 christos Exp $"); +__RCSID("$NetBSD: dr_4.c,v 1.6 1997/10/13 21:03:37 christos Exp $"); #endif #endif /* not lint */ @@ -58,7 +58,7 @@ struct ship *from, *to; while (--k >= 0) { if (friend || die() < 3) { cleangrapple(from, to, 0); - makesignal(from, "ungrappling %s (%c%c)", to); + makesignal(from, "ungrappling $$", to); } } } @@ -71,5 +71,5 @@ struct ship *from, *to; return; Write(W_GRAP, from, 0, to->file->index, 0, 0, 0); Write(W_GRAP, to, 0, from->file->index, 0, 0, 0); - makesignal(from, "grappled with %s (%c%c)", to); + makesignal(from, "grappled with $$", to); } -- cgit v1.2.3