diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-04 20:56:10 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-04-04 21:36:20 +0200 |
commit | e7e25c21c60a6b811985610ee0374ab4293b3cf3 (patch) | |
tree | 72eea7f0fbadd7af75f2162219b39bc449d2a54b /src/udev/udevadm-lock.c | |
parent | Merge pull request #22963 from poettering/udevadm-diskseq-fix (diff) | |
download | systemd-e7e25c21c60a6b811985610ee0374ab4293b3cf3.tar.xz systemd-e7e25c21c60a6b811985610ee0374ab4293b3cf3.zip |
fix typo
Diffstat (limited to '')
-rw-r--r-- | src/udev/udevadm-lock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevadm-lock.c b/src/udev/udevadm-lock.c index fae464704f..3e5d7b356f 100644 --- a/src/udev/udevadm-lock.c +++ b/src/udev/udevadm-lock.c @@ -41,7 +41,7 @@ static int help(void) { printf("%s [OPTIONS...] COMMAND\n" "%s [OPTIONS...] --print\n" - "\n%sLock a block device and run a comand.%s\n\n" + "\n%sLock a block device and run a command.%s\n\n" " -h --help Print this message\n" " -V --version Print version of the program\n" " -d --device=DEVICE Block device to lock\n" @@ -247,7 +247,7 @@ static int lock_device( /* flock() doesn't support a time-out. Let's fake one then. The traditional way to do * this is via alarm()/setitimer()/timer_create(), but that's racy, given that the - * SIGALRM might aleady fire between the alarm() and the flock() in which case the + * SIGALRM might already fire between the alarm() and the flock() in which case the * flock() is never cancelled and we lock up (this is a short time window, but with * short timeouts on a loaded machine we might run into it, who knows?). Let's * instead do the lock out-of-process: fork off a child that does the locking, and |