diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-07-06 06:24:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-07-06 06:24:22 +0000 |
commit | ff88ac50048c91119fc890d49fd0f2178f131821 (patch) | |
tree | b5bab04c54609b90c12ef54340fd85cd74cf1bfe /usr.bin/mail | |
parent | bc5d062a9c0ec8e606bf190319ea0317f2525ee0 (diff) |
printf with % for the prompt
Diffstat (limited to 'usr.bin/mail')
-rw-r--r-- | usr.bin/mail/lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c index 5b6099013f3..b5e2c37278d 100644 --- a/usr.bin/mail/lex.c +++ b/usr.bin/mail/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.20 2000/06/30 16:00:19 millert Exp $ */ +/* $OpenBSD: lex.c,v 1.21 2000/07/06 06:24:21 deraadt Exp $ */ /* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)lex.c 8.2 (Berkeley) 4/20/95"; #else -static char rcsid[] = "$OpenBSD: lex.c,v 1.20 2000/06/30 16:00:19 millert Exp $"; +static char rcsid[] = "$OpenBSD: lex.c,v 1.21 2000/07/06 06:24:21 deraadt Exp $"; #endif #endif /* not lint */ @@ -238,7 +238,7 @@ commands() if ((value("autoinc") != NULL) && (incfile() > 0)) puts("New mail has arrived."); reset_on_stop = 1; - printf(prompt); + printf("%s", prompt); } fflush(stdout); sreset(); |