Page MenuHomeFreeBSD

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

Authored by kaktus on Sep 30 2019, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 2 2024, 11:26 AM
Unknown Object (File)
Oct 2 2024, 4:01 AM
Unknown Object (File)
Sep 29 2024, 12:21 AM
Unknown Object (File)
Sep 24 2024, 3:34 AM
Unknown Object (File)
Aug 31 2024, 6:20 PM
Unknown Object (File)
Aug 18 2024, 6:50 PM
Unknown Object (File)
Aug 18 2024, 10:02 AM
Unknown Object (File)
Aug 18 2024, 6:16 AM
Subscribers

Details

Summary

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

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

Test Plan

expected:
Sep 30 15:09:21 devel2 kernel: linux: pid 24804 (mv): renameat2 unsupported flags 0x1

actual:
Sep 30 15:09:21 devel2 kernel: linux: pid 24804 (mv): renameat2 unsupported flags 0x1
Sep 30 15:09:21 devel2 kernel:

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable