summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
blob: aac88eed98f17fcf9607c307491868eb994c192e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 9aa68ad81b97847dda3493145f4b0a7cc580c551 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Mon, 23 Dec 2013 13:38:34 +0000
Subject: [PATCH] e2fsprogs: silence debugfs

When executing a script don't echo every command, as we do this for entire
filesystems at rootfs time.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 debugfs/debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index 15b01214..15164df2 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -2492,7 +2492,7 @@ static int source_file(const char *cmd_file, int ss_idx)
 		cp = strchr(buf, '\r');
 		if (cp)
 			*cp = 0;
-		printf("debugfs: %s\n", buf);
+		/*printf("debugfs: %s\n", buf);*/
 		retval = ss_execute_line(ss_idx, buf);
 		if (retval) {
 			ss_perror(ss_idx, retval, buf);