Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1509309 > unrolled thread

[PATCH 1/5] fs: exofs: print a hex number after a 0x prefix

Started byUwe Kleine-König <u.kleine-koenig@pengutronix.de>
First post2016-10-26 15:00 +0200
Last post2016-10-26 15:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/5] fs: exofs: print a hex number after a 0x prefix Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2016-10-26 15:00 +0200

#1509309 — [PATCH 1/5] fs: exofs: print a hex number after a 0x prefix

FromUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date2016-10-26 15:00 +0200
Subject[PATCH 1/5] fs: exofs: print a hex number after a 0x prefix
Message-ID<swvYf-3Qk-73@gated-at.bofh.it>
It makes the message hard to interpret correctly if a base 10 number is
prefixed by 0x. So change to a hex number.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 fs/exofs/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
index 79101651fe9e..42f9a0a0c4ca 100644
--- a/fs/exofs/dir.c
+++ b/fs/exofs/dir.c
@@ -137,7 +137,7 @@ static bool exofs_check_page(struct page *page)
 bad_entry:
 	EXOFS_ERR(
 		"ERROR [exofs_check_page]: bad entry in directory(0x%lx): %s - "
-		"offset=%lu, inode=0x%llu, rec_len=%d, name_len=%d\n",
+		"offset=%lu, inode=0x%llx, rec_len=%d, name_len=%d\n",
 		dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs,
 		_LLU(le64_to_cpu(p->inode_no)),
 		rec_len, p->name_len);
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web