summaryrefslogtreecommitdiffstats
path: root/sail/pl_4.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-13 21:02:57 +0000
committerchristos <christos@NetBSD.org>1997-10-13 21:02:57 +0000
commitbd10b531314ec546d25fd238f27d94c74a726567 (patch)
treea6f88adfc60ca14d2851035c0a9fce98fcc96438 /sail/pl_4.c
parent7e5c0c57606f0f1e9335aa74ef5ea8c8048a9b2c (diff)
downloadbsdgames-darwin-bd10b531314ec546d25fd238f27d94c74a726567.tar.gz
bsdgames-darwin-bd10b531314ec546d25fd238f27d94c74a726567.zip
- make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.
Diffstat (limited to 'sail/pl_4.c')
-rw-r--r--sail/pl_4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/pl_4.c b/sail/pl_4.c
index 6f7b914b..30719300 100644
--- a/sail/pl_4.c
+++ b/sail/pl_4.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_4.c,v 1.5 1997/10/13 19:45:20 christos Exp $ */
+/* $NetBSD: pl_4.c,v 1.6 1997/10/13 21:04:17 christos Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)pl_4.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_4.c,v 1.5 1997/10/13 19:45:20 christos Exp $");
+__RCSID("$NetBSD: pl_4.c,v 1.6 1997/10/13 21:04:17 christos Exp $");
#endif
#endif /* not lint */
@@ -133,7 +133,7 @@ struct ship *ship;
i = portside(ms, ship, 1) - mf->dir;
if (i <= 0)
i += 8;
- Signal("%$ %s %s %s.",
+ Signal("$$ %s %s %s.",
ship, countryname[ship->nationality],
classname[ship->specs->class], directionname[i]);
}