summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-07-03 23:28:22 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-07-03 23:28:22 +0000
commit8afbc753574b49c474ad8164dddf61c36becbeed (patch)
treeca4cf74106fc6950b7ea546b549ffa14da79eeaa /games
parentea251ea9ad25521623d1280cc33fb4b6b61e3f86 (diff)
typo
Diffstat (limited to 'games')
-rw-r--r--games/dm/dm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/dm/dm.c b/games/dm/dm.c
index 9662e5228f5..88097060584 100644
--- a/games/dm/dm.c
+++ b/games/dm/dm.c
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)dm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: dm.c,v 1.7 1998/05/14 09:58:27 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: dm.c,v 1.8 1998/07/03 23:28:21 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -129,7 +129,7 @@ read_config()
while (fgets(lbuf, sizeof(lbuf), cfp))
switch(*lbuf) {
case 'b': /* badtty */
- if (sscanf(lbuf, "%40s40%s", f1, f2) != 2 ||
+ if (sscanf(lbuf, "%40s%40s", f1, f2) != 2 ||
strcasecmp(f1, "badtty"))
break;
c_tty(f2);