1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-25 18:50:51 +03:00

cleanup: fix typos

Typos found with codespell.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
Tobias Stoeckmann 2024-09-13 18:33:45 +02:00 committed by Zdenek Kabelac
parent 964012fdb9
commit cb781b3e1d
6 changed files with 7 additions and 7 deletions

View File

@ -133,7 +133,7 @@ def process_args():
def running_under_systemd():
""""
Checks to see if we are running under systemd, by checking damon fd 0, 1
Checks to see if we are running under systemd, by checking daemon fd 0, 1
systemd sets stdin to /dev/null and 1 & 2 are a socket
"""
base = "/proc/self/fd"

View File

@ -271,7 +271,7 @@ struct cmd_context {
/*
* Buffers.
*/
char display_buffer[NAME_LEN * 10]; /* ring buffer for upto 10 longest vg/lv names */
char display_buffer[NAME_LEN * 10]; /* ring buffer for up to 10 longest vg/lv names */
unsigned display_lvname_idx; /* index to ring buffer */
char *linebuffer;

View File

@ -258,7 +258,7 @@ static int _get_pid_starttime(int *pid, unsigned long long *starttime)
/*
* Support envvar LVM_LOG_FILE_EPOCH and allow to attach
* extra keyword (consist of upto 32 alpha chars) to
* extra keyword (consist of up to 32 alpha chars) to
* opened log file. After this 'epoch' word pid and starttime
* (in kernel units, read from /proc/self/stat)
* is automatically attached.

View File

@ -109,7 +109,7 @@ void lvmnotify_send(struct cmd_context *cmd)
/* If lvmdbusd isn't running, don't notify as you will start it as it will auto activate */
if (!lvmdbusd_running()) {
log_debug_dbus("dbus damon not running, not notifying");
log_debug_dbus("dbus daemon not running, not notifying");
return;
}

View File

@ -24,7 +24,7 @@
int main(int argc, char *argv[])
{
int pecent = atoi(argv[1]);
int percent = atoi(argv[1]);
int ret, s;
ret = ilm_connect(&s);
@ -35,7 +35,7 @@ int main(int argc, char *argv[])
exit(-1);
}
ret = ilm_inject_fault(s, pecent);
ret = ilm_inject_fault(s, percent);
if (ret == 0) {
printf("ilm_inject_fault (100): SUCCESS\n");
} else {

View File

@ -10,7 +10,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# Check very large device size (upto 15Exa bytes)
# Check very large device size (up to 15Exa bytes)
# this needs 64bit arch
SKIP_WITH_LVMLOCKD=1