summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-04 19:06:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-04 19:06:35 +0000
commit01764adb2c182ef593fba3b9cdece112c26a4765 (patch)
tree3d7757e6a26be95ed78b2b1d42c86283f2dae4ed
parente32674213dc5ad2375423e43b3f2419ead19f568 (diff)
parentd059fdd4ef24d9e23d21a218c098c0376c880a5e (diff)
downloadextras-01764adb2c182ef593fba3b9cdece112c26a4765.tar.gz
Merge "Fix missing '\n's in kernel logging."
-rw-r--r--ext4_utils/ext4_crypt_init_extensions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext4_utils/ext4_crypt_init_extensions.cpp b/ext4_utils/ext4_crypt_init_extensions.cpp
index 6d73fb2f..1585911a 100644
--- a/ext4_utils/ext4_crypt_init_extensions.cpp
+++ b/ext4_utils/ext4_crypt_init_extensions.cpp
@@ -129,7 +129,7 @@ int e4crypt_create_device_key(const char* dir,
}
if (!props.Set(properties::key, key_material)) {
- KLOG_ERROR(TAG, "Failed to write key material");
+ KLOG_ERROR(TAG, "Failed to write key material\n");
return -1;
}
}
@@ -261,7 +261,7 @@ int e4crypt_set_directory_policy(const char* dir)
KLOG_INFO(TAG, "Setting policy %s\n", policy.c_str());
int result = do_policy_set(dir, policy.c_str());
if (result) {
- KLOG_ERROR(TAG, "Setting policy on %s failed!", dir);
+ KLOG_ERROR(TAG, "Setting policy on %s failed!\n", dir);
return -1;
}