mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
treewide: fix typos of let's
This commit is contained in:
@@ -452,7 +452,7 @@ static bool job_is_runnable(Job *j) {
|
||||
j->type == JOB_RELOAD) {
|
||||
|
||||
/* Immediate result is that the job is or might be
|
||||
* started. In this case lets wait for the
|
||||
* started. In this case let's wait for the
|
||||
* dependencies, regardless whether they are
|
||||
* starting or stopping something. */
|
||||
|
||||
@@ -462,7 +462,7 @@ static bool job_is_runnable(Job *j) {
|
||||
}
|
||||
|
||||
/* Also, if something else is being stopped and we should
|
||||
* change state after it, then lets wait. */
|
||||
* change state after it, then let's wait. */
|
||||
|
||||
SET_FOREACH(other, j->unit->dependencies[UNIT_BEFORE], i)
|
||||
if (other->job &&
|
||||
|
||||
@@ -1235,7 +1235,7 @@ static int main_pid_good(Service *s) {
|
||||
/* Returns 0 if the pid is dead, 1 if it is good, -1 if we
|
||||
* don't know */
|
||||
|
||||
/* If we know the pid file, then lets just check if it is
|
||||
/* If we know the pid file, then let's just check if it is
|
||||
* still valid */
|
||||
if (s->main_pid_known) {
|
||||
|
||||
|
||||
@@ -2584,7 +2584,7 @@ static int unmanaged_card_new(grdev_card **out, grdev_session *session, struct u
|
||||
} else {
|
||||
/* We might get DRM-Master implicitly on open(); drop it immediately
|
||||
* so we acquire it only once we're actually enabled. We don't
|
||||
* really care whether this call fails or not, but lets log any
|
||||
* really care whether this call fails or not, but let's log any
|
||||
* weird errors, anyway. */
|
||||
r = ioctl(fd, DRM_IOCTL_DROP_MASTER, 0);
|
||||
if (r < 0 && errno != EACCES && errno != EINVAL)
|
||||
@@ -2777,7 +2777,7 @@ static int managed_card_resume_device_fn(sd_bus_message *signal,
|
||||
|
||||
if (cm->card.fd < 0) {
|
||||
/* This shouldn't happen. We should already own an FD from
|
||||
* TakeDevice(). However, lets be safe and use this FD in case
|
||||
* TakeDevice(). However, let's be safe and use this FD in case
|
||||
* we really don't have one. There is no harm in doing this
|
||||
* and our code works fine this way. */
|
||||
fd = fcntl(fd, F_DUPFD_CLOEXEC, 3);
|
||||
|
||||
@@ -483,7 +483,7 @@ void seat_evict_position(Seat *s, Session *session) {
|
||||
s->positions[pos] = NULL;
|
||||
|
||||
/* There might be another session claiming the same
|
||||
* position (eg., during gdm->session transition), so lets look
|
||||
* position (eg., during gdm->session transition), so let's look
|
||||
* for it and set it on the free slot. */
|
||||
LIST_FOREACH(sessions_by_seat, iter, s->sessions) {
|
||||
if (iter->pos == pos) {
|
||||
|
||||
@@ -133,7 +133,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
/* Oh, there're ugly races in the TTY layer regarding HUP vs IN. Turns
|
||||
* out they appear only 10% of the time. I fixed all of them and
|
||||
* don't see them, anymore. But lets be safe and run this 1000 times
|
||||
* don't see them, anymore. But let's be safe and run this 1000 times
|
||||
* so we catch any new ones, in case they appear again. */
|
||||
for (i = 0; i < 1000; ++i)
|
||||
test_pty();
|
||||
|
||||
Reference in New Issue
Block a user