Came across two 'refer[e]ring' typos in the pledge(2) man page. The first
diff fixes those. After grepping through the source tree, there's a few
more, similar typos in unrelated files. Attached a second diff for those.

Left HTTP-related stuff alone since refe[r]er is the preferred term in that
context. There's also some gcc/binutils abi_refe[r]er mentions, but I'm not
sure if those should be renamed. Didn't include these either.


Index: pledge.2
===================================================================
RCS file: /cvs/src/lib/libc/sys/pledge.2,v
retrieving revision 1.35
diff -u -p -r1.35 pledge.2
--- pledge.2    5 Sep 2016 11:17:24 -0000       1.35
+++ pledge.2    13 Sep 2016 09:14:40 -0000
@@ -380,11 +380,11 @@ operations.
 .It Va "sendfd"
 Allows sending of file descriptors using
 .Xr sendmsg 2 .
-File descriptors referering to directories may not be passed.
+File descriptors referring to directories may not be passed.
 .It Va "recvfd"
 Allows receiving of file descriptors using
 .Xr recvmsg 2 .
-File descriptors referering to directories may not be passed.
+File descriptors referring to directories may not be passed.
 .It Va "ioctl"
 Allows a subset of
 .Xr ioctl 2


Index: gnu/llvm/include/llvm/IR/TrackingMDRef.h
===================================================================
RCS file: /cvs/src/gnu/llvm/include/llvm/IR/TrackingMDRef.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 TrackingMDRef.h
--- gnu/llvm/include/llvm/IR/TrackingMDRef.h    3 Sep 2016 22:46:58 -0000
1.1.1.1
+++ gnu/llvm/include/llvm/IR/TrackingMDRef.h    13 Sep 2016 09:26:12 -0000
@@ -96,7 +96,7 @@ private:

 /// \brief Typed tracking ref.
 ///
-/// Track refererences of a particular type.  It's useful to use this for \a
+/// Track references of a particular type.  It's useful to use this for \a
 /// MDNode and \a ValueAsMetadata.
 template <class T> class TypedTrackingMDRef {
   TrackingMDRef Ref;
Index: gnu/usr.bin/binutils/gdb/doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/gnu/usr.bin/binutils/gdb/doc/gdbint.texinfo,v
retrieving revision 1.6
diff -u -p -r1.6 gdbint.texinfo
--- gnu/usr.bin/binutils/gdb/doc/gdbint.texinfo 27 Dec 2004 14:00:52 -0000
1.6
+++ gnu/usr.bin/binutils/gdb/doc/gdbint.texinfo 13 Sep 2016 09:26:20 -0000
@@ -2590,7 +2590,7 @@ Given the type flags representing an add
 its name.
 @end deftypefn
 @deftypefn {Target Macro} int ADDRESS_CLASS_NAME_to_TYPE_FLAGS (int @var{name},
 int *var{type_flags_ptr})
-Given an address qualifier name, set the @code{int} refererenced by @var{type_f
lags_ptr} to the type flags
+Given an address qualifier name, set the @code{int} referenced by @var{type_fla
gs_ptr} to the type flags
 for that address class qualifier.
 @end deftypefn

Index: sbin/isakmpd/transport.c
===================================================================
RCS file: /cvs/src/sbin/isakmpd/transport.c,v
retrieving revision 1.37
diff -u -p -r1.37 transport.c
--- sbin/isakmpd/transport.c    10 Mar 2016 07:32:16 -0000      1.37
+++ sbin/isakmpd/transport.c    13 Sep 2016 09:26:43 -0000
@@ -89,7 +89,7 @@ transport_setup(struct transport *t, int
        t->flags = 0;
 }

-/* Add a referer to transport T.  */
+/* Add a referrer to transport T.  */
 void
 transport_reference(struct transport *t)
 {
@@ -100,7 +100,7 @@ transport_reference(struct transport *t)
 }

 /*
- * Remove a referer from transport T, removing all of T when no referers left.
+ * Remove a referrer from transport T, removing all of T when no referers left.
  */
 void
 transport_release(struct transport *t)
Index: sys/net/pipex.c
===================================================================
RCS file: /cvs/src/sys/net/pipex.c,v
retrieving revision 1.88
diff -u -p -r1.88 pipex.c
--- sys/net/pipex.c     30 Aug 2016 23:29:04 -0000      1.88
+++ sys/net/pipex.c     13 Sep 2016 09:26:48 -0000
@@ -838,7 +838,7 @@ pipex_timer(void *ignored_arg)
                case PIPEX_STATE_CLOSED:
                        /*
                         * mbuf queued in pipexinq or pipexoutq may have a
-                        * refererce to this session.
+                        * reference to this session.
                         */
                        if (!mq_empty(&pipexinq) || !mq_empty(&pipexoutq))
                                continue;

Reply via email to