summaryrefslogtreecommitdiff
path: root/libexec/talkd/announce.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-11-25 07:40:10 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-11-25 07:40:10 +0000
commit099c028df89479c24d6c47c560a1f4603ba766cc (patch)
treeccfe7d668180d94f7280a6b89e329dfd8966ad71 /libexec/talkd/announce.c
parente9e43e31b213ce9f6f907c373e61d161fbd1a8ef (diff)
avoid size_t -> int conversion. style nit for sizeof(). David Krause
Diffstat (limited to 'libexec/talkd/announce.c')
-rw-r--r--libexec/talkd/announce.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c
index 05be3e7256d..357d3e3b938 100644
--- a/libexec/talkd/announce.c
+++ b/libexec/talkd/announce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: announce.c,v 1.15 2002/09/24 17:36:53 millert Exp $ */
+/* $OpenBSD: announce.c,v 1.16 2002/11/25 07:40:09 itojun 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.15 2002/09/24 17:36:53 millert Exp $";
+static char rcsid[] = "$Id: announce.c,v 1.16 2002/11/25 07:40:09 itojun Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -70,7 +70,7 @@ announce(request, remote_machine)
FILE *tf;
struct stat stbuf;
- (void)snprintf(full_tty, sizeof full_tty, "%s/%s", _PATH_DEV,
+ (void)snprintf(full_tty, sizeof(full_tty), "%s/%s", _PATH_DEV,
request->r_tty);
if (access(full_tty, 0) != 0)
return (FAILED);