summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils/more-verbosity.patch
blob: cdc842a8f9a7af7e0e5ea59c6c6287f862b9cd26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- mtd/util/mkfs.jffs2.c~more-verbosity.patch
+++ mtd/util/mkfs.jffs2.c
@@ -374,6 +374,9 @@
 	struct filesystem_entry *entry;
 	struct ignorepath_entry* element = ignorepath;
 
+        if (verbose) {
+                printf( "mkfs.jffs2: scanning '%s'...\n", targetpath );
+        }
 
 	if (lstat(hostpath, &sb)) {
 		perror_msg_and_die("%s", hostpath);