remove spurious newlines on ALOG lines
(for consistency with rest of code base) Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I5660615f24daf4285e2b6cbacecb7cd99061c5f5
This commit is contained in:
@@ -233,7 +233,7 @@ int BpfHandler::untagSocket(int sockFd) {
|
||||
if (sock_cookie == NONEXISTENT_COOKIE) return -errno;
|
||||
base::Result<void> res = mCookieTagMap.deleteValue(sock_cookie);
|
||||
if (!res.ok()) {
|
||||
ALOGE("Failed to untag socket: %s\n", strerror(res.error().code()));
|
||||
ALOGE("Failed to untag socket: %s", strerror(res.error().code()));
|
||||
return -res.error().code();
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -685,7 +685,7 @@ class NetlinkListenerTest : public testing::Test {
|
||||
if (res.ok() || (res.error().code() == ENOENT)) {
|
||||
return Result<void>();
|
||||
}
|
||||
ALOGE("Failed to delete data(cookie = %" PRIu64 "): %s\n", key,
|
||||
ALOGE("Failed to delete data(cookie = %" PRIu64 "): %s", key,
|
||||
strerror(res.error().code()));
|
||||
}
|
||||
// Move forward to next cookie in the map.
|
||||
|
||||
Reference in New Issue
Block a user