From 9c768250a658e41dc4a95b41fff6b5c3a8903c74 Mon Sep 17 00:00:00 2001 From: pfg Date: Sat, 14 May 2016 00:35:49 +0000 Subject: [PATCH] MFC r298829 sys/compat/linux*: minor spelling fixes. git-svn-id: svn://svn.freebsd.org/base/stable/10@299705 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/compat/linux/check_internal_locks.d | 2 +- sys/compat/linux/linux_fork.c | 2 +- sys/compat/linux/linux_misc.c | 2 +- sys/compat/linux/linux_socket.h | 2 +- sys/compat/linux/trace_futexes.d | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/compat/linux/check_internal_locks.d b/sys/compat/linux/check_internal_locks.d index b9d7c61f8..644323e43 100644 --- a/sys/compat/linux/check_internal_locks.d +++ b/sys/compat/linux/check_internal_locks.d @@ -64,7 +64,7 @@ linuxulator*:locks:futex_mtx:locked linuxulator*:locks:futex_mtx:unlock /check[probefunc] == 0/ { - printf("ERROR: unlock attemt of unlocked %s (%p),", probefunc, arg0); + printf("ERROR: unlock attempt of unlocked %s (%p),", probefunc, arg0); printf(" missing SDT probe in kernel, or dtrace program started"); printf(" while the %s was already held (race condition).", probefunc); printf(" Stack trace follows:"); diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c index f96559cac..ac634bb7c 100644 --- a/sys/compat/linux/linux_fork.c +++ b/sys/compat/linux/linux_fork.c @@ -157,7 +157,7 @@ linux_clone_proc(struct thread *td, struct linux_clone_args *args) ff |= RFSIGSHARE; /* * XXX: In Linux, sharing of fs info (chroot/cwd/umask) - * and open files is independant. In FreeBSD, its in one + * and open files is independent. In FreeBSD, its in one * structure but in reality it does not cause any problems * because both of these flags are usually set together. */ diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 6e34436cd..86f9ac351 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -200,7 +200,7 @@ linux_alarm(struct thread *td, struct linux_alarm_args *args) #endif secs = args->secs; /* - * Linux alarm() is always successfull. Limit secs to INT32_MAX / 2 + * Linux alarm() is always successful. Limit secs to INT32_MAX / 2 * to match kern_setitimer()'s limit to avoid error from it. * * XXX. Linux limit secs to INT_MAX on 32 and does not limit on 64-bit diff --git a/sys/compat/linux/linux_socket.h b/sys/compat/linux/linux_socket.h index 25c0ec3d6..63fae690e 100644 --- a/sys/compat/linux/linux_socket.h +++ b/sys/compat/linux/linux_socket.h @@ -79,7 +79,7 @@ struct l_cmsghdr { l_int cmsg_type; }; -/* Ancilliary data object information macros */ +/* Ancillary data object information macros */ #define LINUX_CMSG_ALIGN(len) roundup2(len, sizeof(l_ulong)) #define LINUX_CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + \ diff --git a/sys/compat/linux/trace_futexes.d b/sys/compat/linux/trace_futexes.d index bd9dac6b1..d8879fc77 100644 --- a/sys/compat/linux/trace_futexes.d +++ b/sys/compat/linux/trace_futexes.d @@ -120,7 +120,7 @@ linuxulator*:locks:futex_mtx:locked linuxulator*:locks:futex_mtx:unlock /check[probefunc, arg0] == 0/ { - printf("ERROR: unlock attemt of unlocked %s (%p),", probefunc, arg0); + printf("ERROR: unlock attempt of unlocked %s (%p),", probefunc, arg0); printf(" missing SDT probe in kernel, or dtrace program started"); printf(" while the %s was already held (race condition).", probefunc); printf(" Stack trace follows:"); -- 2.45.0