Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2020 16:15:12 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r364703 - stable/12/sys/compat/linux
Message-ID:  <202008241615.07OGFC71068008@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Mon Aug 24 16:15:12 2020
New Revision: 364703
URL: https://svnweb.freebsd.org/changeset/base/364703

Log:
  MFC r362059:
  
  Don't use newlines with linux_msg().  No functional changes.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/12/sys/compat/linux/linux.c
  stable/12/sys/compat/linux/linux_event.c
  stable/12/sys/compat/linux/linux_futex.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/compat/linux/linux.c
==============================================================================
--- stable/12/sys/compat/linux/linux.c	Mon Aug 24 16:06:17 2020	(r364702)
+++ stable/12/sys/compat/linux/linux.c	Mon Aug 24 16:15:12 2020	(r364703)
@@ -485,7 +485,7 @@ linux_to_bsd_sockaddr(const struct l_sockaddr *osa, st
 				sin6->sin6_scope_id = 0;
 			} else {
 				linux_msg(curthread,
-				    "obsolete pre-RFC2553 sockaddr_in6 rejected\n");
+				    "obsolete pre-RFC2553 sockaddr_in6 rejected");
 				error = EINVAL;
 				goto out;
 			}

Modified: stable/12/sys/compat/linux/linux_event.c
==============================================================================
--- stable/12/sys/compat/linux/linux_event.c	Mon Aug 24 16:06:17 2020	(r364702)
+++ stable/12/sys/compat/linux/linux_event.c	Mon Aug 24 16:15:12 2020	(r364703)
@@ -342,7 +342,7 @@ epoll_to_kevent(struct thread *td, int fd, struct epol
 		if ((pem->flags & LINUX_XUNSUP_EPOLL) == 0) {
 			pem->flags |= LINUX_XUNSUP_EPOLL;
 			LINUX_PEM_XUNLOCK(pem);
-			linux_msg(td, "epoll_ctl unsupported flags: 0x%x\n",
+			linux_msg(td, "epoll_ctl unsupported flags: 0x%x",
 			    levents);
 		} else
 			LINUX_PEM_XUNLOCK(pem);

Modified: stable/12/sys/compat/linux/linux_futex.c
==============================================================================
--- stable/12/sys/compat/linux/linux_futex.c	Mon Aug 24 16:06:17 2020	(r364702)
+++ stable/12/sys/compat/linux/linux_futex.c	Mon Aug 24 16:15:12 2020	(r364703)
@@ -1086,7 +1086,7 @@ retry2:
 		return (ENOSYS);
 
 	default:
-		linux_msg(td, "unsupported futex op %d\n", args->op);
+		linux_msg(td, "unsupported futex op %d", args->op);
 		LIN_SDT_PROBE1(futex, linux_sys_futex, unknown_operation,
 		    args->op);
 		LIN_SDT_PROBE1(futex, linux_sys_futex, return, ENOSYS);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008241615.07OGFC71068008>