aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-10-25 10:49:21 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-10-28 08:59:05 +0000
commit50006d520545be6d4b0587b7fd0010e9aa7a8bf8 (patch)
tree6697fb5793c7bd3aab1a3d0873f1ea28993592c7
parent3e2704c8ee1a25977d2e9ec95dbf4db2b737f05b (diff)
downloadsrc-50006d520545be6d4b0587b7fd0010e9aa7a8bf8.tar.gz
src-50006d520545be6d4b0587b7fd0010e9aa7a8bf8.zip
CMSG_DATA.3: Fix a typo in the EXAMPLES section
- s/faild/failed/ (cherry picked from commit 31c472b8a6e403e26110c9a379af45fccd6b4177)
-rw-r--r--share/man/man3/CMSG_DATA.32
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man3/CMSG_DATA.3 b/share/man/man3/CMSG_DATA.3
index 92c5b9736da3..efdff7abae60 100644
--- a/share/man/man3/CMSG_DATA.3
+++ b/share/man/man3/CMSG_DATA.3
@@ -165,7 +165,7 @@ main()
close(hellofd[1]);
if (read(hellofd[0], buf, HELLOLEN) == -1)
- err(EX_IOERR, "faild to receive 'hello'");
+ err(EX_IOERR, "failed to receive 'hello'");
printf("parent: received '%s'\\n", buf);
break;
}