$ grep -c nonexistant /usr/share/dict/words
0
$ grep -c nonexistent /usr/share/dict/words
2
OK
or if someone else wants to give me an OK I can commit this.
On 2019 Feb 10 (Sun) at 11:13:04 -0500 (-0500), Pamela Mosiejczuk wrote:
:Hi,
:I noticed "non-existant" crop up in an error message and went hunting
:for other examples. This is a possible set of corrections.
:
:Thanks,
:Pamela
:
:
:
:Index: lib/libssl/d1_both.c
:===================================================================
:RCS file: /cvs/src/lib/libssl/d1_both.c,v
:retrieving revision 1.56
:diff -u -p -r1.56 d1_both.c
:--- lib/libssl/d1_both.c 8 Nov 2018 22:28:52 -0000 1.56
:+++ lib/libssl/d1_both.c 10 Feb 2019 15:54:50 -0000
:@@ -1046,7 +1046,7 @@ dtls1_retransmit_message(SSL *s, unsigne
: item = pqueue_find(s->d1->sent_messages, seq64be);
: if (item == NULL) {
: #ifdef DEBUG
:- fprintf(stderr, "retransmit: message %d non-existant\n", seq);
:+ fprintf(stderr, "retransmit: message %d non-existent\n", seq);
: #endif
: *found = 0;
: return 0;
:Index: regress/sys/kern/unveil/syscalls.c
:===================================================================
:RCS file: /cvs/src/regress/sys/kern/unveil/syscalls.c,v
:retrieving revision 1.20
:diff -u -p -r1.20 syscalls.c
:--- regress/sys/kern/unveil/syscalls.c 17 Jan 2019 03:26:19 -0000 1.20
:+++ regress/sys/kern/unveil/syscalls.c 10 Feb 2019 15:54:53 -0000
:@@ -605,8 +605,8 @@ static int
: test_stat2(int do_uv)
: {
: if (do_uv) {
:- printf("testing stat components to nonexistant \"rw\"\n");
:- if (unveil("/usr/share/man/nonexistant", "rw") == -1)
:+ printf("testing stat components to nonexistent \"rw\"\n");
:+ if (unveil("/usr/share/man/nonexistent", "rw") == -1)
: err(1, "%s:%d - unveil", __FILE__, __LINE__);
: }
: struct stat sb;
:@@ -616,7 +616,7 @@ test_stat2(int do_uv)
: UV_SHOULD_SUCCEED((stat("/usr", &sb) == -1), "stat");
: UV_SHOULD_SUCCEED((stat("/usr/share", &sb) == -1), "stat");
: UV_SHOULD_SUCCEED((stat("/usr/share/man", &sb) == -1), "stat");
:- UV_SHOULD_ENOENT((stat("/usr/share/man/nonexistant", &sb) == -1),
"stat");
:+ UV_SHOULD_ENOENT((stat("/usr/share/man/nonexistent", &sb) == -1),
"stat");
: return 0;
: }
:
:Index: sys/net/if_pfsync.c
:===================================================================
:RCS file: /cvs/src/sys/net/if_pfsync.c,v
:retrieving revision 1.261
:diff -u -p -r1.261 if_pfsync.c
:--- sys/net/if_pfsync.c 3 Oct 2018 01:24:14 -0000 1.261
:+++ sys/net/if_pfsync.c 10 Feb 2019 15:55:00 -0000
:@@ -2062,7 +2062,7 @@ pfsync_update_state_req(struct pf_state
: struct pfsync_softc *sc = pfsyncif;
:
: if (sc == NULL)
:- panic("pfsync_update_state_req: nonexistant instance");
:+ panic("pfsync_update_state_req: nonexistent instance");
:
: if (ISSET(st->state_flags, PFSTATE_NOSYNC)) {
: if (st->sync_state != PFSYNC_S_NONE)
:Index: sys/scsi/mpath.c
:===================================================================
:RCS file: /cvs/src/sys/scsi/mpath.c,v
:retrieving revision 1.41
:diff -u -p -r1.41 mpath.c
:--- sys/scsi/mpath.c 23 Aug 2015 01:55:39 -0000 1.41
:+++ sys/scsi/mpath.c 10 Feb 2019 15:55:00 -0000
:@@ -189,7 +189,7 @@ mpath_cmd(struct scsi_xfer *xs)
:
: #ifdef DIAGNOSTIC
: if (d == NULL)
:- panic("mpath_cmd issued against nonexistant device");
:+ panic("mpath_cmd issued against nonexistent device");
: #endif
:
: if (ISSET(xs->flags, SCSI_POLL)) {
:@@ -404,7 +404,7 @@ mpath_minphys(struct buf *bp, struct scs
:
: #ifdef DIAGNOSTIC
: if (d == NULL)
:- panic("mpath_minphys against nonexistant device");
:+ panic("mpath_minphys against nonexistent device");
: #endif
:
: mtx_enter(&d->d_mtx);
:@@ -548,7 +548,7 @@ mpath_path_detach(struct mpath_path *p)
:
: #ifdef DIAGNOSTIC
: if (g == NULL)
:- panic("mpath: detaching a path from a nonexistant bus");
:+ panic("mpath: detaching a path from a nonexistent bus");
: #endif
: d = g->g_dev;
: p->p_group = NULL;
:Index: sys/uvm/uvm_map.c
:===================================================================
:RCS file: /cvs/src/sys/uvm/uvm_map.c,v
:retrieving revision 1.239
:diff -u -p -r1.239 uvm_map.c
:--- sys/uvm/uvm_map.c 31 Oct 2018 08:50:25 -0000 1.239
:+++ sys/uvm/uvm_map.c 10 Feb 2019 15:55:03 -0000
:@@ -1491,7 +1491,7 @@ uvm_mapent_merge(struct vm_map *map, str
: * Attempt forward and backward joining of entry.
: *
: * Returns entry after joins.
:- * We are guaranteed that the amap of entry is either non-existant or
:+ * We are guaranteed that the amap of entry is either non-existent or
: * has never been used.
: */
: struct vm_map_entry*
:Index: usr.sbin/pkg_add/OpenBSD/PkgDelete.pm
:===================================================================
:RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PkgDelete.pm,v
:retrieving revision 1.45
:diff -u -p -r1.45 PkgDelete.pm
:--- usr.sbin/pkg_add/OpenBSD/PkgDelete.pm 10 Jul 2018 10:37:59 -0000
1.45
:+++ usr.sbin/pkg_add/OpenBSD/PkgDelete.pm 10 Feb 2019 15:55:05 -0000
:@@ -299,7 +299,7 @@ sub process_set
: }
: }
: if (keys %$bad2 > 0) {
:- $state->errsay("#1 depends on non-existant #2",
:+ $state->errsay("#1 depends on non-existent #2",
: $set->print, join(' ', sort keys %$bad2));
: if (fix_bad_dependencies($state)) {
: for my $pkg (keys %$bad2) {
:Index: usr.sbin/rmt/rmt.c
:===================================================================
:RCS file: /cvs/src/usr.sbin/rmt/rmt.c,v
:retrieving revision 1.21
:diff -u -p -r1.21 rmt.c
:--- usr.sbin/rmt/rmt.c 26 Apr 2018 12:42:51 -0000 1.21
:+++ usr.sbin/rmt/rmt.c 10 Feb 2019 15:55:05 -0000
:@@ -169,7 +169,7 @@ top:
: f &= ~O_CREAT;
: } else if (wflag) {
: /*
:- * Require, and force creation of, a nonexistant file,
:+ * Require, and force creation of, a nonexistent file,
: * unless we are reopening the last opened file again,
: * in which case it is opened read-only.
: */
:
--
Workers of the world, arise! You have nothing to lose but your
chairs.