summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/yppush/yppush.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-03 05:01:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-03 05:01:25 +0000
commit167baa6dbeaf7a2b1770b810f3bc927d0ae07723 (patch)
treec31ac5991928356aadf930b29b30dd4c537f01ac /usr.sbin/ypserv/yppush/yppush.c
parentd44b084ee2cb948833f128a82b459f950e44a682 (diff)
spreading the lint love (very minimal things..)
Diffstat (limited to 'usr.sbin/ypserv/yppush/yppush.c')
-rw-r--r--usr.sbin/ypserv/yppush/yppush.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c
index b0195f9dba9..05bf1ba26c5 100644
--- a/usr.sbin/ypserv/yppush/yppush.c
+++ b/usr.sbin/ypserv/yppush/yppush.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppush.c,v 1.23 2005/09/16 23:53:08 deraadt Exp $ */
+/* $OpenBSD: yppush.c,v 1.24 2006/04/03 05:01:23 deraadt Exp $ */
/*
* Copyright (c) 1995 Mats O Jansson <moj@stacken.kth.se>
@@ -27,7 +27,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: yppush.c,v 1.23 2005/09/16 23:53:08 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: yppush.c,v 1.24 2006/04/03 05:01:23 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -154,12 +154,12 @@ push(int inlen, char *indata)
pid_t pid;
struct rusage res;
- snprintf(host, sizeof host, "%*.*s" ,inlen ,inlen, indata);
+ snprintf(host, sizeof host, "%*.*s", inlen, inlen, indata);
client = clnt_create(host, YPPROG, YPVERS, "tcp");
if (client == NULL) {
if (Verbose)
- fprintf(stderr, "Target Host: %s\n",host);
+ fprintf(stderr, "Target Host: %s\n", host);
clnt_pcreateerror("yppush: Cannot create client");
return;
}