summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
blob: 88d0ae77c98c55bd540ee3a6708e37122519783c (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 6e4c1644a3a8cacf7c1f5953cc378589bb046d5a 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 132c5f9d..98063727 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -2510,7 +2510,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);