svn commit: r299705 - stable/10/sys/compat/linux

Pedro F. Giffuni pfg at FreeBSD.org
Sat May 14 00:35:51 UTC 2016


Author: pfg
Date: Sat May 14 00:35:49 2016
New Revision: 299705
URL: https://svnweb.freebsd.org/changeset/base/299705

Log:
  MFC r298829
  sys/compat/linux*: minor spelling fixes.

Modified:
  stable/10/sys/compat/linux/check_internal_locks.d
  stable/10/sys/compat/linux/linux_fork.c
  stable/10/sys/compat/linux/linux_misc.c
  stable/10/sys/compat/linux/linux_socket.h
  stable/10/sys/compat/linux/trace_futexes.d
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/compat/linux/check_internal_locks.d
==============================================================================
--- stable/10/sys/compat/linux/check_internal_locks.d	Sat May 14 00:35:35 2016	(r299704)
+++ stable/10/sys/compat/linux/check_internal_locks.d	Sat May 14 00:35:49 2016	(r299705)
@@ -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:");

Modified: stable/10/sys/compat/linux/linux_fork.c
==============================================================================
--- stable/10/sys/compat/linux/linux_fork.c	Sat May 14 00:35:35 2016	(r299704)
+++ stable/10/sys/compat/linux/linux_fork.c	Sat May 14 00:35:49 2016	(r299705)
@@ -157,7 +157,7 @@ linux_clone_proc(struct thread *td, stru
 		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.
 	 */

Modified: stable/10/sys/compat/linux/linux_misc.c
==============================================================================
--- stable/10/sys/compat/linux/linux_misc.c	Sat May 14 00:35:35 2016	(r299704)
+++ stable/10/sys/compat/linux/linux_misc.c	Sat May 14 00:35:49 2016	(r299705)
@@ -200,7 +200,7 @@ linux_alarm(struct thread *td, struct li
 #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

Modified: stable/10/sys/compat/linux/linux_socket.h
==============================================================================
--- stable/10/sys/compat/linux/linux_socket.h	Sat May 14 00:35:35 2016	(r299704)
+++ stable/10/sys/compat/linux/linux_socket.h	Sat May 14 00:35:49 2016	(r299705)
@@ -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) + \

Modified: stable/10/sys/compat/linux/trace_futexes.d
==============================================================================
--- stable/10/sys/compat/linux/trace_futexes.d	Sat May 14 00:35:35 2016	(r299704)
+++ stable/10/sys/compat/linux/trace_futexes.d	Sat May 14 00:35:49 2016	(r299705)
@@ -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:");


More information about the svn-src-all mailing list