summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/tap/tap.cc4
-rw-r--r--util/term/term.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/util/tap/tap.cc b/util/tap/tap.cc
index 0d94f0b17..9c13051ca 100644
--- a/util/tap/tap.cc
+++ b/util/tap/tap.cc
@@ -207,7 +207,7 @@ main(int argc, char *argv[])
program = basename(argv[0]);
- while((c = getopt(argc, argv, "b:df:lp:v")) != -1) {
+ while ((c = getopt(argc, argv, "b:df:lp:v")) != -1) {
switch (c) {
case 'b':
bufsize = atoi(optarg);
@@ -405,7 +405,7 @@ main(int argc, char *argv[])
delete [] buffer;
pcap_close(pcap);
eth_close(ethernet);
- if(listen_pfd)
+ if (listen_pfd)
close(listen_pfd->fd);
if (client_pfd)
diff --git a/util/term/term.c b/util/term/term.c
index d445b4d37..199b8e973 100644
--- a/util/term/term.c
+++ b/util/term/term.c
@@ -202,7 +202,7 @@ readwrite(int nfd)
continue;
}
- if((ret = atomicio(write, nfd, buf, n)) != n)
+ if ((ret = atomicio(write, nfd, buf, n)) != n)
return;
}
}