linux_renameat2: don't add extra \n on error.

linux_msg() already adds \n at the end of all messages.

Reported by:	emaste, kib (mentor), mjg (mentor)
Reviewed by:	kib (mentor), mjg (mentor)
Differential Revision:	https://reviews.freebsd.org/D21852
This commit is contained in:
kaktus 2019-09-30 19:05:14 +00:00
parent 613101d06e
commit 2f6a23158a

View File

@ -704,7 +704,7 @@ linux_renameat2(struct thread *td, struct linux_renameat2_args *args)
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);
}