| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 48/71] xfs_db: print one array element per line |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Thu, 25 Aug 2016 16:51:41 -0700 |
| Cc: | linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <147216879156.4420.2446767701729565218.stgit@xxxxxxxxxxxxxxxx> |
| References: | <147216879156.4420.2446767701729565218.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | StGit/0.17.1-dirty |
Print one array element per line so that the debugger output isn't
a gigantic pile of screen snow.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
db/print.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/db/print.c b/db/print.c
index 998daf4..e31372f 100644
--- a/db/print.c
+++ b/db/print.c
@@ -197,7 +197,7 @@ print_sarray(
i < count && !seenint();
i++, bitoff += size) {
if (array)
- dbprintf("%d:", i + base);
+ dbprintf("\n%d:", i + base);
for (f = flds, first = 1; f->name; f++) {
if (f->flags & FLD_SKIPALL)
continue;
|
| Previous by Date: | [PATCH 47/71] xfs_db: deal with the CoW extent size hint, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 49/71] xfs_growfs: report the presence of the reflink feature, Darrick J. Wong |
| Previous by Thread: | [PATCH 47/71] xfs_db: deal with the CoW extent size hint, Darrick J. Wong |
| Next by Thread: | [PATCH 49/71] xfs_growfs: report the presence of the reflink feature, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |