aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2018-10-18 16:37:13 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2018-11-01 12:42:12 +0100
commita5bdf343b75bc9a1e24734166b016706b54ce0e7 (patch)
treeff4973a290e0a09b547d738012f2eb80029c7aa4 /ubifs-utils
parent9c8caf5aca7527235afcbbb813e9bf490a239dee (diff)
mkfs.ubifs: Fix key descriptor printing
normsg() sucks. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils')
-rw-r--r--ubifs-utils/mkfs.ubifs/fscrypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ubifs-utils/mkfs.ubifs/fscrypt.c b/ubifs-utils/mkfs.ubifs/fscrypt.c
index ce6e2fc..29dad1b 100644
--- a/ubifs-utils/mkfs.ubifs/fscrypt.c
+++ b/ubifs-utils/mkfs.ubifs/fscrypt.c
@@ -69,11 +69,11 @@ void print_fscrypt_master_key_descriptor(struct fscrypt_context *fctx)
{
int i;
- normsg_cont("fscrypt master key descriptor: ");
+ normsg_cont("fscrypt master key descriptor: 0x");
for (i = 0; i < FS_KEY_DESCRIPTOR_SIZE; i++) {
- normsg_cont("%02x", fctx->master_key_descriptor[i]);
+ printf("%02x", fctx->master_key_descriptor[i]);
}
- normsg("");
+ printf("\n");
}
unsigned int fscrypt_fname_encrypted_size(struct fscrypt_context *fctx,