summaryrefslogtreecommitdiff
path: root/games/trek/phaser.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2000-07-24 00:56:06 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2000-07-24 00:56:06 +0000
commit6733abcea81310bb15a823e3175256e27b978fa7 (patch)
tree5aa261e8acf353963c2db4e51d04de5d4f2f9966 /games/trek/phaser.c
parent5e8d9da5e485a5467767c2bf93870399f9bbd3c6 (diff)
printf() and %s pedantry, from itojun channelling kris@freebsd
Diffstat (limited to 'games/trek/phaser.c')
-rw-r--r--games/trek/phaser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/trek/phaser.c b/games/trek/phaser.c
index 756ed0de880..5fd2e562f11 100644
--- a/games/trek/phaser.c
+++ b/games/trek/phaser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: phaser.c,v 1.4 1999/07/31 18:48:59 pjanzen Exp $ */
+/* $OpenBSD: phaser.c,v 1.5 2000/07/24 00:56:05 pjanzen Exp $ */
/* $NetBSD: phaser.c,v 1.4 1995/04/24 12:26:02 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)phaser.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: phaser.c,v 1.4 1999/07/31 18:48:59 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: phaser.c,v 1.5 2000/07/24 00:56:05 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -139,13 +139,13 @@ phaser(v)
{
if (damaged(COMPUTER))
{
- printf(Device[COMPUTER].name);
+ printf("%s", Device[COMPUTER].name);
manual++;
}
else
if (damaged(SRSCAN))
{
- printf(Device[SRSCAN].name);
+ printf("%s", Device[SRSCAN].name);
manual++;
}
if (manual)