summaryrefslogtreecommitdiffstats
path: root/sail/pl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sail/pl_main.c')
-rw-r--r--sail/pl_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/pl_main.c b/sail/pl_main.c
index 6183420a..17a1c05e 100644
--- a/sail/pl_main.c
+++ b/sail/pl_main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_main.c,v 1.16 2003/08/07 09:37:44 agc Exp $ */
+/* $NetBSD: pl_main.c,v 1.17 2006/04/20 10:57:26 drochner Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pl_main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_main.c,v 1.16 2003/08/07 09:37:44 agc Exp $");
+__RCSID("$NetBSD: pl_main.c,v 1.17 2006/04/20 10:57:26 drochner Exp $");
#endif
#endif /* not lint */
@@ -219,7 +219,7 @@ reprint:
printf("\nInitial broadside %s (grape, chain, round, double): ",
n ? "right" : "left");
fflush(stdout);
- scanf("%s", buf);
+ fgets(buf, sizeof(buf), stdin);
switch (*buf) {
case 'g':
load = L_GRAPE;