summaryrefslogtreecommitdiff
path: root/libexec/rexecd
diff options
context:
space:
mode:
authoris <is@NetBSD.org>2000-10-10 19:54:37 +0000
committeris <is@NetBSD.org>2000-10-10 19:54:37 +0000
commit48052d04a3a4c22d3ffae1aa36157f7e2dddd132 (patch)
tree32b2a60211b697bcf1a97dc4452098d02069b10d /libexec/rexecd
parenta9006f3ed58c26fc67be5b5764c9d3a5beafa63c (diff)
Format string cleanups by sommerfeld.
Diffstat (limited to 'libexec/rexecd')
-rw-r--r--libexec/rexecd/rexecd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/rexecd/rexecd.c b/libexec/rexecd/rexecd.c
index 1af2e71fc35..b0108150d9f 100644
--- a/libexec/rexecd/rexecd.c
+++ b/libexec/rexecd/rexecd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $ */
+/* $NetBSD: rexecd.c,v 1.7 2000/10/10 19:54:38 is Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "from: @(#)rexecd.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $");
+__RCSID("$NetBSD: rexecd.c,v 1.7 2000/10/10 19:54:38 is Exp $");
#endif
#endif /* not lint */
@@ -64,7 +64,8 @@ __RCSID("$NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $");
#include <string.h>
#include <unistd.h>
-void error __P((const char *, ...));
+void error __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
int main __P((int, char **));
void doit __P((int, struct sockaddr_in *));
void getstr __P((char *, int, char *));