svn commit: r364554 - stable/12/sys/compat/linux

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Aug 23 21:44:06 UTC 2020


Author: trasz
Date: Sun Aug 23 21:44:05 2020
New Revision: 364554
URL: https://svnweb.freebsd.org/changeset/base/364554

Log:
  MFC r352914 by kaktus:
  
  linux_renameat2: don't add extra \n on error.
  
  linux_msg() already adds \n at the end of all messages.

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

Modified: stable/12/sys/compat/linux/linux_file.c
==============================================================================
--- stable/12/sys/compat/linux/linux_file.c	Sun Aug 23 21:42:23 2020	(r364553)
+++ stable/12/sys/compat/linux/linux_file.c	Sun Aug 23 21:44:05 2020	(r364554)
@@ -792,7 +792,7 @@ linux_renameat2(struct thread *td, struct linux_rename
 	int error, olddfd, newdfd;
 
 	if (args->flags != 0) {
-		linux_msg(td, "renameat2 unsupported flags 0x%x\n",
+		linux_msg(td, "renameat2 unsupported flags 0x%x",
 		    args->flags);
 		return (EINVAL);
 	}


More information about the svn-src-stable-12 mailing list