Fix the the.

This commit is contained in:
Jonas 'Sortie' Termansen 2023-01-17 22:35:41 +01:00
parent c839ad3ea3
commit 384218d787
8 changed files with 8 additions and 8 deletions

View File

@ -71,7 +71,7 @@ Filesystem::Filesystem(Device* device, const char* mount_path)
sb->s_mnt_count++;
sb->s_state = EXT2_ERROR_FS;
// TODO: Remove this temporarily compatibility when this driver is moved
// into the kernel and the the FUSE frontend is removed.
// into the kernel and the FUSE frontend is removed.
#ifdef __GLIBC__
strncpy(sb->s_last_mounted, mount_path, sizeof(sb->s_last_mounted));
#else

View File

@ -663,7 +663,7 @@ void EM::InterruptWork()
Ref<Packet> buf = GetPacket();
// TODO: Design a solution that handles when there's no more
// packets available, but later adds packets when they
// become available, otherwise the the receive queue might
// become available, otherwise the receive queue might
// deadlock with no available packets.
if ( buf )
AddReceiveDescriptor(buf);

View File

@ -396,7 +396,7 @@ bool Send(Ref<Packet> pktin,
else if ( (dst_ip & subnet_ip) == (address_ip & subnet_ip) &&
dst_ip != address_ip )
memcpy(&route, dst, sizeof(route));
// Route to the the default route if any.
// Route to the default route if any.
else if ( router_ip != htobe32(INADDR_ANY) )
memcpy(&route, &router_ip, sizeof(route));
// Otherwise the network is unreachable.

View File

@ -1204,7 +1204,7 @@ bool PipeChannel::WriteResize(size_t new_size)
if ( new_size < min_pipe_size )
new_size = min_pipe_size;
// Refuse to lose data if the the new size would cause truncation.
// Refuse to lose data if the new size would cause truncation.
if ( new_size < buffer_used )
new_size = buffer_used;

View File

@ -58,7 +58,7 @@ messages are not passively added to the cache.
.Pp
The ARP cache uses a hash table with 256 entries, using a linked list in case
of hash collisions.
The hash is the the bytewise xor (exclusive or) of every byte in the network
The hash is the bytewise xor (exclusive or) of every byte in the network
address.
This hash is perfect if the subnet contains no more than 256 addresses, and
degrades in quality for larger subnets, at worst needing to linearly scan the

View File

@ -162,7 +162,7 @@ address and the address used as the source address in transmitted packets.
.Va address
defaults on network interface creation to the value of the
.Va addr
field of the the network interface's
field of the network interface's
.Va struct if_info .
.Pp
.Va inet

View File

@ -43,7 +43,7 @@ IP addresses are notated by
the decimal byte values interspaced with periods, e.g. 192.0.2.255.
Subnetworks are ranges of IP addresses given by a starting IP address along with
how many leading bits (most significant bit first) of the IP address are common
to the network (the prefix), the first address of the the subnetwork is the
to the network (the prefix), the first address of the subnetwork is the
prefix with the remaining bits set to zero, and the last address is the prefix
with the
remaining bits set to one.

View File

@ -443,7 +443,7 @@ Don't wait for the
to become ready before starting this daemon.
This flag is meant for dependencies that the daemon can make use of, but isn't
essential to the daemon itself becoming ready.
It shouldn't be used if the daemon polls for the the dependency to come online,
It shouldn't be used if the daemon polls for the dependency to come online,
as it is more efficient to only start the daemon once the dependency is ready.
.It Sy optional
Start the daemon even if the