diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-16 14:19:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-16 14:19:52 +0000 |
commit | 727b5cdf017dca919177b7c0f818c05b0a29854e (patch) | |
tree | 097fb9aabc3a89b94e23dd30978ae0e31922a27b | |
parent | c4fc531eb693250d57065d149105efa931cbf616 (diff) |
use vprintf, as obvious; frederik.deweerdt@laposte.net
-rw-r--r-- | games/hack/hack.tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.tty.c b/games/hack/hack.tty.c index 09c70b86cc3..2f99a505c3e 100644 --- a/games/hack/hack.tty.c +++ b/games/hack/hack.tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.tty.c,v 1.9 2003/06/03 03:01:40 millert Exp $ */ +/* $OpenBSD: hack.tty.c,v 1.10 2005/04/16 14:19:51 deraadt Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -33,7 +33,7 @@ #if 0 static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: hack.tty.c,v 1.9 2003/06/03 03:01:40 millert Exp $"; +static const char rcsid[] = "$OpenBSD: hack.tty.c,v 1.10 2005/04/16 14:19:51 deraadt Exp $"; #endif #endif /* not lint */ @@ -201,7 +201,7 @@ error(char *s, ...) if(settty_needed) settty((char *) 0); va_start(ap, s); - printf(s, ap); + vprintf(s, ap); va_end(ap); putchar('\n'); exit(1); |