summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2005-03-25 13:45:31 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2005-03-25 13:45:31 +0000
commit73e896e10fae69399b445ad27d4907e2642f05b3 (patch)
tree71122edcb17cd5dc75d006ec7c9365e0f7c85f2b /usr.sbin
parent3afcb7c895c180ab784e7cf99245ba6d1c136f08 (diff)
whitespace
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/tcpdump/privsep.c10
-rw-r--r--usr.sbin/tcpdump/tcpdump.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/tcpdump/privsep.c b/usr.sbin/tcpdump/privsep.c
index fb7d4b37ef5..61e9783237a 100644
--- a/usr.sbin/tcpdump/privsep.c
+++ b/usr.sbin/tcpdump/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.12 2005/03/06 18:44:50 reyk Exp $ */
+/* $OpenBSD: privsep.c,v 1.13 2005/03/25 13:45:30 moritz Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -359,7 +359,7 @@ parent_init_done(int fd, int *bpfd)
int ret;
logmsg(LOG_DEBUG, "[priv]: msg PRIV_INIT_DONE received");
-
+
close(*bpfd); /* done with bpf descriptor */
*bpfd = -1;
ret = 0;
@@ -495,7 +495,7 @@ parent_getlines(int fd)
FILE *fp;
char *buf, *lbuf, *file;
size_t len, fid;
-
+
logmsg(LOG_DEBUG, "[priv]: msg PRIV_GETLINES received");
must_read(fd, &fid, sizeof(size_t));
@@ -677,7 +677,7 @@ priv_localtime(const time_t *t)
must_read(priv_fd, &lt, sizeof(lt));
must_read(priv_fd, &gt0, sizeof(gt0));
- if (read_string(priv_fd, zone, sizeof(zone), __func__))
+ if (read_string(priv_fd, zone, sizeof(zone), __func__))
lt.tm_zone = zone;
else
lt.tm_zone = NULL;
@@ -729,7 +729,7 @@ sig_got_chld(int sig)
pid_t pid;
int status;
int save_err = errno;
-
+
do {
pid = waitpid(child_pid, &status, WNOHANG);
} while (pid == -1 && errno == EINTR);
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index 473d7acb582..780bec26e41 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdump.c,v 1.42 2005/03/07 16:13:38 reyk Exp $ */
+/* $OpenBSD: tcpdump.c,v 1.43 2005/03/25 13:45:30 moritz Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -26,7 +26,7 @@ static const char copyright[] =
"@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997\n\
The Regents of the University of California. All rights reserved.\n";
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/tcpdump.c,v 1.42 2005/03/07 16:13:38 reyk Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/tcpdump.c,v 1.43 2005/03/25 13:45:30 moritz Exp $ (LBL)";
#endif
/*
@@ -447,7 +447,7 @@ main(int argc, char **argv)
if (snaplen == 0) {
switch (dlt) {
case DLT_IEEE802_11_RADIO:
- snaplen = RADIOTAP_SNAPLEN;
+ snaplen = RADIOTAP_SNAPLEN;
break;
default:
snaplen = DEFAULT_SNAPLEN;