tools: Remove a double words
- s/to to/to/ - s/to to/to do/ in an error message MFC after: 3 days
This commit is contained in:
parent
59cdd0e2ff
commit
08cb3ac76c
@ -2809,7 +2809,7 @@ tap_alloc(char *dev)
|
||||
|
||||
/* try to create the device */
|
||||
if( (err = ioctl(fd, TUNSETIFF, (void *) &ifr)) < 0 ) {
|
||||
D("failed to to a TUNSETIFF: %s", strerror(errno));
|
||||
D("failed to do a TUNSETIFF: %s", strerror(errno));
|
||||
close(fd);
|
||||
return err;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@
|
||||
* Server side -- create a pool of processes, each listening on its own TCP
|
||||
* port number for new connections. The first 8 bytes of each connection
|
||||
* will be a network byte order length, then there will be that number of
|
||||
* bytes of data. We use non-blocking sockets with kqueue to to avoid the
|
||||
* bytes of data. We use non-blocking sockets with kqueue to avoid the
|
||||
* overhead of threading or more than one process per processor, which makes
|
||||
* things a bit awkward when dealing with data we care about. As such, we
|
||||
* read into a small character buffer which we then convert to a length once
|
||||
|
Loading…
Reference in New Issue
Block a user