Thread (36 messages) flat view 36 messages, 2 authors, 2011-01-06
STALE5723d

[PATCH 06/34] imsm: FIX: display error message

From: Adam Kwolek <hidden>
Date: 2011-01-04 14:36:25
Subsystem: the rest · Maintainer: Linus Torvalds

When container operation is not allowed user has to get proper information on console about it
Currently this information was displayed as debug info only.

Signed-off-by: Adam Kwolek <redacted>
---

 super-intel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/super-intel.c b/super-intel.c
index 35a3769..ffbf741 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -6455,7 +6455,7 @@ static int imsm_reshape_super(struct supertype *st, long long size, int level,
 				dprintf("imsm: Cannot prepare "\
 					"update\n");
 		} else
-			dprintf("imsm: Operation is not allowed "\
+			fprintf(stderr, Name "imsm: Operation is not allowed "\
 				"on this container\n");
 	} else
 		dprintf("imsm: not a container operation\n");
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help