fix typos in comments and one definition, mainly s/sucket/socket/.

This commit is contained in:
andvar 2023-08-03 20:45:49 +00:00
parent 0448d06008
commit 506971ff58
7 changed files with 15 additions and 15 deletions

View File

@ -11,7 +11,7 @@
/*
* from: @(#)fdlibm.h 5.1 93/09/24
* $NetBSD: math_private.h,v 1.26 2022/08/27 08:31:59 christos Exp $
* $NetBSD: math_private.h,v 1.27 2023/08/03 20:45:49 andvar Exp $
*/
#ifndef _MATH_PRIVATE_H_
@ -462,7 +462,7 @@ rnintf(float x)
* The complications for extra precision are smaller for rnintl() since it
* can safely assume that the rounding precision has been increased from
* its default to FP_PE on x86. We don't exploit that here to get small
* optimizations from limiting the rangle to double. We just need it for
* optimizations from limiting the range to double. We just need it for
* the magic number to work with long doubles. ld128 callers should use
* rnint() instead of this if possible. ld80 callers should prefer
* rnintl() since for amd64 this avoids swapping the register set, while

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser_daemonize.c,v 1.7 2014/11/04 19:05:17 pooka Exp $ */
/* $NetBSD: rumpuser_daemonize.c,v 1.8 2023/08/03 20:45:49 andvar Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@ -28,7 +28,7 @@
#include "rumpuser_port.h"
#if !defined(lint)
__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.7 2014/11/04 19:05:17 pooka Exp $");
__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.8 2023/08/03 20:45:49 andvar Exp $");
#endif /* !lint */
#include <sys/types.h>
@ -71,7 +71,7 @@ rumpuser_daemonize_begin(void)
* after rump_init (which creates threads), do it now. Add
* a little pipe trickery to make sure we don't exit until the
* service is fully inited (i.e. interlocked daemonization).
* Actually, use sucketpair since that allows to easily steer
* Actually, use socketpair since that allows to easily steer
* clear of the dreaded sigpipe.
*
* Note: We do *NOT* host chdir("/"). It's up to the caller to

View File

@ -1,4 +1,4 @@
/* $NetBSD: fstest_puffs.c,v 1.13 2020/06/17 00:16:21 kamil Exp $ */
/* $NetBSD: fstest_puffs.c,v 1.14 2023/08/03 20:45:50 andvar Exp $ */
/*
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@ -265,7 +265,7 @@ donewfs(const atf_tc_t *tc, void **argp,
pflags = &args->pta_pflags;
/* Create sucketpair for communication with the real file server */
/* Create socketpair for communication with the real file server */
if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sv) == -1)
return errno;

View File

@ -1,4 +1,4 @@
/* $NetBSD: h_exec.c,v 1.6 2011/02/16 17:57:44 pooka Exp $ */
/* $NetBSD: h_exec.c,v 1.7 2023/08/03 20:45:50 andvar Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -67,7 +67,7 @@ main(int argc, char *argv[])
}
}
/* open and listenize two TCP4 suckets */
/* open and listenize two TCP4 sockets */
if ((s1 = rump_sys_socket(PF_INET, SOCK_STREAM, 0)) == -1)
err(1, "socket 1");
if ((s2 = rump_sys_socket(PF_INET, SOCK_STREAM, 0)) == -1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_fd.c,v 1.7 2019/05/13 17:55:08 bad Exp $ */
/* $NetBSD: t_fd.c,v 1.8 2023/08/03 20:45:50 andvar Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -57,7 +57,7 @@ ATF_TC_HEAD(sigio, tc)
"SIGIO");
}
#define RUMPSERV "unix://sucket"
#define RUMPSERV "unix://socket"
ATF_TC_CLEANUP(bigenough, tc){system("env RUMP_SERVER=" RUMPSERV " rump.halt");}
ATF_TC_CLEANUP(sigio, tc) { system("env RUMP_SERVER=" RUMPSERV " rump.halt"); }

View File

@ -1,4 +1,4 @@
/* $NetBSD: tbrconfig.c,v 1.4 2011/08/29 20:38:54 joerg Exp $ */
/* $NetBSD: tbrconfig.c,v 1.5 2023/08/03 20:45:50 andvar Exp $ */
/* $KAME: tbrconfig.c,v 1.3 2001/05/08 04:36:39 itojun Exp $ */
/*
* Copyright (C) 2000
@ -237,7 +237,7 @@ atobytes(const char *s)
}
/*
* use heuristics to determin the bucket size
* use heuristics to determine the bucket size
*/
static u_int
size_bucket(const char *ifname, const u_int rate)

View File

@ -1,4 +1,4 @@
/* $NetBSD: rump_syspuffs.c,v 1.13 2019/02/01 09:06:07 mrg Exp $ */
/* $NetBSD: rump_syspuffs.c,v 1.14 2023/08/03 20:45:50 andvar Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@ -98,7 +98,7 @@ mount_syspuffs_parseargs(int argc, char *argv[],
if (argc < 2)
usage();
/* Create sucketpair for communication with the real file server */
/* Create socketpair for communication with the real file server */
if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sv) == -1)
err(1, "socketpair");