diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/dm/dm.c | 4 |
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); |