summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-01-06 22:20:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-01-06 22:20:11 +0900
commit7611946ebc70600ad5948fe255852781f92ee2ab (patch)
tree381b5fd7435c873261708fe3fb397f1b262ae8d3
parentc0b28d44a92239d39e55cb99f8ac6d67d99a3623 (diff)
downloadsystemd-7611946ebc70600ad5948fe255852781f92ee2ab.tar.gz
tree-wide: fix typo
-rw-r--r--man/sd_event_add_inotify.xml2
-rwxr-xr-xtools/debug-sd-boot.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/sd_event_add_inotify.xml b/man/sd_event_add_inotify.xml
index e97fda25d7..c7af7bdcd0 100644
--- a/man/sd_event_add_inotify.xml
+++ b/man/sd_event_add_inotify.xml
@@ -81,7 +81,7 @@
further information.</para>
<para>The <parameter>handler</parameter> must reference a function to call when the inode changes or
- <contant>NULL</contant>. The handler function will be passed the <parameter>userdata</parameter> pointer,
+ <constant>NULL</constant>. The handler function will be passed the <parameter>userdata</parameter> pointer,
which may be chosen freely by the caller. The handler also receives a pointer to a <structname>struct
inotify_event</structname> structure containing information about the inode event. The handler may return
negative to signal an error (see below), other return values are ignored. If
diff --git a/tools/debug-sd-boot.sh b/tools/debug-sd-boot.sh
index 1af97c18ec..816eead22d 100755
--- a/tools/debug-sd-boot.sh
+++ b/tools/debug-sd-boot.sh
@@ -21,7 +21,7 @@ if [[ $# -lt 2 ]]; then
echo " (gdb) source GDBSCRIPT"
echo " (gdb) target remote :1234"
echo
- echo "Exmaple usage:"
+ echo "Example usage:"
echo " mkfifo /tmp/sdboot.{in,out}"
echo " qemu-system-x86_64 [...] -s -serial pipe:/tmp/sdboot"
echo " ./tools/debug-sd-boot.sh ./build/src/boot/efi/systemd-bootx64.efi \\"