diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-04-20 21:54:59 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-04-20 21:54:59 +0200 |
commit | 94d82b59807488343bd206ba8f111d24ff17d9c1 (patch) | |
tree | 7df4d9d1e1f45ad8d82bbcee498a4e415dd06761 /src/basic | |
parent | ff707dd1b1a6bd49e7f693564ec204f23ad23a7d (diff) | |
download | systemd-94d82b59807488343bd206ba8f111d24ff17d9c1.tar.gz |
tree-wide: code spelling fixes
As reported by Fossies.
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/macro.h | 2 | ||||
-rw-r--r-- | src/basic/mountpoint-util.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index 2770d01aa9..99262e9206 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -431,7 +431,7 @@ assert_cc(sizeof(dummy_t) == 0); }) /* Iterate through each variadic arg. All must be the same type as 'entry' or must be implicitly - * convertable. The iteration variable 'entry' must already be defined. */ + * convertible. The iteration variable 'entry' must already be defined. */ #define VA_ARGS_FOREACH(entry, ...) \ _VA_ARGS_FOREACH(entry, UNIQ_T(_entries_, UNIQ), UNIQ_T(_current_, UNIQ), ##__VA_ARGS__) #define _VA_ARGS_FOREACH(entry, _entries_, _current_, ...) \ diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index db36b2f2f6..698ea65d48 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -95,7 +95,7 @@ int name_to_handle_at_loop( /* The buffer was too small. Size the new buffer by what name_to_handle_at() returned. */ n = h->handle_bytes; - /* paranoia: check for overlow (note that .handle_bytes is unsigned only) */ + /* paranoia: check for overflow (note that .handle_bytes is unsigned only) */ if (n > UINT_MAX - offsetof(struct file_handle, f_handle)) return -EOVERFLOW; } @@ -722,7 +722,7 @@ int mount_option_supported(const char *fstype, const char *key, const char *valu _cleanup_close_ int fd = -EBADF; int r; - /* Checks if the specified file system supports a mount option. Returns > 0 if it suppors it, == 0 if + /* Checks if the specified file system supports a mount option. Returns > 0 if it supports it, == 0 if * it does not. Return -EAGAIN if we can't determine it. And any other error otherwise. */ assert(fstype); |