diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-14 00:35:49 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-14 00:35:49 +0000 |
commit | 8b556bd097f525e695ac6e68420b737f2ee3f864 (patch) | |
tree | 46e58a80abc828737fc6ca228b6fb8edacb859ba /sys/compat/linux | |
parent | 3d577988df37a1ce66bf3020308b273f6be16d5a (diff) | |
download | FreeBSD-src-8b556bd097f525e695ac6e68420b737f2ee3f864.zip FreeBSD-src-8b556bd097f525e695ac6e68420b737f2ee3f864.tar.gz |
MFC r298829
sys/compat/linux*: minor spelling fixes.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/check_internal_locks.d | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_fork.c | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_misc.c | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_socket.h | 2 | ||||
-rw-r--r-- | 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 b9d7c61..644323e 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 f96559c..ac634bb 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 6e34436..86f9ac3 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 25c0ec3..63fae69 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 bd9dac6..d8879fc7 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:"); |