tree-wide: fix typo
This commit is contained in:
@@ -12,7 +12,7 @@ static void test_path_is_encrypted_one(const char *p, int expect) {
|
||||
/* This might fail, if btrfs is used and we run in a container. In that case we cannot
|
||||
* resolve the device node paths that BTRFS_IOC_DEV_INFO returns, because the device nodes
|
||||
* are unlikely to exist in the container. But if we can't stat() them we cannot determine
|
||||
* the dev_t of them, and thus cannot figure out if they are enrypted. Hence let's just
|
||||
* the dev_t of them, and thus cannot figure out if they are encrypted. Hence let's just
|
||||
* ignore ENOENT here. Also skip the test if we lack privileges. */
|
||||
return;
|
||||
assert_se(r >= 0);
|
||||
|
||||
@@ -42,7 +42,7 @@ int main(int argc, char *argv[]) {
|
||||
assert_se(unit_add_name(c, "c.service") >= 0);
|
||||
assert_se(set_isempty(c->pids));
|
||||
|
||||
/* Fork off a child so thta we have a PID to watch */
|
||||
/* Fork off a child so that we have a PID to watch */
|
||||
_cleanup_(sigkill_waitp) pid_t pid = 0;
|
||||
pid = fork();
|
||||
if (pid == 0) {
|
||||
|
||||
Reference in New Issue
Block a user