diff options
author | Elliott Hughes <enh@google.com> | 2015-04-04 12:03:52 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-04 12:03:52 -0700 |
commit | d059fdd4ef24d9e23d21a218c098c0376c880a5e (patch) | |
tree | 3d7757e6a26be95ed78b2b1d42c86283f2dae4ed | |
parent | e32674213dc5ad2375423e43b3f2419ead19f568 (diff) | |
download | extras-d059fdd4ef24d9e23d21a218c098c0376c880a5e.tar.gz |
Fix missing '\n's in kernel logging.
Change-Id: I3a127b2d50012fec2f91fd302bbc611e47e04aff
-rw-r--r-- | ext4_utils/ext4_crypt_init_extensions.cpp | 4 |
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; } |