From 841b06df37f312b6576e84567512e4f23b84efa4 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 27 Aug 2021 06:23:04 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - doc/conditions.md - src/mount.c - src/svc.h Fixes: - Should read `satisfied` rather than `satsifed`. - Should read `process` rather than `prorcess`. - Should read `measure` rather than `meausre`. --- doc/conditions.md | 2 +- src/mount.c | 2 +- src/svc.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/conditions.md b/doc/conditions.md index 000be706..416abe51 100644 --- a/doc/conditions.md +++ b/doc/conditions.md @@ -180,7 +180,7 @@ PID IDENT STATUS CONDITION (+ ON, ~ FLUX, - OFF) Here we can see that `netd` is allowed to run since both its conditions are in the `on` state, as indicated by the `+`-prefix. `udhcpc` however -is not allowed to run since `net/vlan1/exist` condition is not satsifed. +is not allowed to run since `net/vlan1/exist` condition is not satisfied. As indicated by the `-`-prefix. To fake interface `vlan1` suddenly appearing, and test what happens to diff --git a/src/mount.c b/src/mount.c index 19fd9514..d5de9c95 100644 --- a/src/mount.c +++ b/src/mount.c @@ -28,7 +28,7 @@ /* * SysV init on Debian/Ubuntu skips these protected mount points * - * It also skips anything below /proc, /sys and /run for good meausre so + * It also skips anything below /proc, /sys and /run for good measure so * we do the same here. What we want is a list of non-protected tmpfs * and regular filesystems that can be safely unmounted before we do * swapoff, and remount / as read-only, respectively. diff --git a/src/svc.h b/src/svc.h index 82739558..21fb3d0d 100644 --- a/src/svc.h +++ b/src/svc.h @@ -102,7 +102,7 @@ typedef struct svc { struct cgroup cgroup; /* Service details */ - int sighalt; /* Signal to stop prorcess, default: SIGTERM */ + int sighalt; /* Signal to stop process, default: SIGTERM */ int killdelay; /* Delay in msec before sending SIGKILL */ pid_t oldpid, pid; char pidfile[256];