Message ID | 20181018143718.26298-38-richard@nod.at |
---|---|
State | Accepted |
Delegated to: | David Oberhollenzer |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LotlufKq"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="ZvpC59SK"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bX8c2z4Pz9s1x for <incoming@patchwork.ozlabs.org>; Fri, 19 Oct 2018 01:52:48 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LN3pIboRLLS0dCPBGlUP0UaxZrt35IOf6mCOFH3QGYk=; b=LotlufKqkqYg6+ 3d/Zp9yo90XagCq4N6Nh/9HWsmTfxPhPBsUhfMAlzQ403oLYpGAx8suq+28UXtD2S81FdoVLH6HFz zRfYboUIubNMDu5bncDDj74MeiWkf081yIWLeZLaD0cnrvfVI4Y6R777+rw7ALwtepAbA8LXCMgGe e8bStBDwcSBZWhTCiLMYRj6n8GM8o98Skpy/mFVxSfFuLfexG7awLy639bnjNhaRL0nWDHRhvzdex jYxx9q2Iz5kraUVAT2cyLnnY8cdgCEDq0JpvcyAXaxHPR2KD8CYANpZxsBwP/CQwGKPVctfbcIB4I bllEYMB6enR0ZjY5tuyg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD9fB-0005PK-CG; Thu, 18 Oct 2018 14:52:37 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD9TE-00053K-3Q for linux-mtd@bombadil.infradead.org; Thu, 18 Oct 2018 14:40:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=236vCke3nyqeSbiL5vQtgASqmL7kti/hqMQlB620JP8=; b=ZvpC59SKmOHiqdA1OFG8kd/83j EnR8Hqgx1Lcl/OVrGW9dHARF4Tsow4HJn9C9GGwc1JPi3uQ75NGK+Fz1zgdXC4mPOyxzTR3XYD38T 0yV5q+Ri3g6CvnXV9JivTFYYq5iV4T5FF7nixxYxbB5maMd293ZYtlE1Q4iGpjcDiytopisak9MZ/ m1knG1zuIp6siGP94HSPcXjGVmsFSBZq3s6jzP6y4Jn5Z6JBi6Fsca5/0OgiZEzk2gviK0wBc6uRO jRsT7wRPVe0vSiPlKElGQ5ataQB+WhBq03oVGXNqkoATaIlpWN/C56u7aKCxLPQfhgVBbOf8ik2RC H9Rrlnkg==; Received: from lilium.sigma-star.at ([109.75.188.150]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD9SC-0002TJ-Pp for linux-mtd@lists.infradead.org; Thu, 18 Oct 2018 14:39:14 +0000 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id 27D9B180347EF; Thu, 18 Oct 2018 16:39:05 +0200 (CEST) From: Richard Weinberger <richard@nod.at> To: linux-mtd@lists.infradead.org Subject: [PATCH 37/42] mkfs.ubifs: Fix key descriptor printing Date: Thu, 18 Oct 2018 16:37:13 +0200 Message-Id: <20181018143718.26298-38-richard@nod.at> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181018143718.26298-1-richard@nod.at> References: <20181018143718.26298-1-richard@nod.at> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181018_153912_982921_9B280287 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Richard Weinberger <richard@nod.at>, david.oberhollenzer@sigma-star.at Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
mtd-utils: Add fscrypt support to mkfs.ubifs
|
expand
|
diff --git a/ubifs-utils/mkfs.ubifs/fscrypt.c b/ubifs-utils/mkfs.ubifs/fscrypt.c index ce6e2fc29ce0..29dad1b039e7 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,
normsg() sucks. Signed-off-by: Richard Weinberger <richard@nod.at> --- ubifs-utils/mkfs.ubifs/fscrypt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)