diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-07-06 00:01:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-07-06 00:01:46 +0000 |
commit | d3615488710b6e955dbdad0399aa749de95a9182 (patch) | |
tree | bc20602e460edeffc4678ffe723d5b74132fd411 /libexec/talkd/announce.c | |
parent | def11693aa8c84e064dce274d9ea0c9a518894f6 (diff) |
use %s with fprintf
Diffstat (limited to 'libexec/talkd/announce.c')
-rw-r--r-- | libexec/talkd/announce.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index b25fb2b986a..101e75ff86d 100644 --- a/libexec/talkd/announce.c +++ b/libexec/talkd/announce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: announce.c,v 1.8 1998/08/18 03:42:10 millert Exp $ */ +/* $OpenBSD: announce.c,v 1.9 2000/07/06 00:01:45 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -35,7 +35,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)announce.c 5.9 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: announce.c,v 1.8 1998/08/18 03:42:10 millert Exp $"; +static char rcsid[] = "$Id: announce.c,v 1.9 2000/07/06 00:01:45 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -160,6 +160,6 @@ print_mesg(tf, request, remote_machine) *(bptr++) = '\n'; } *bptr = '\0'; - fprintf(tf, big_buf); + fprintf(tf, "%s", big_buf); fflush(tf); } |