|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/8] mg-allocate: Redirect a few messages to stderr
These were, anomalously, printed to stdout. We are going to want to
reserve stdout for programmatically-useful output.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
mg-allocate | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mg-allocate b/mg-allocate
index 7b1eb62..f895af2 100755
--- a/mg-allocate
+++ b/mg-allocate
@@ -430,8 +430,8 @@ sub plan () {
my @reqlist;
foreach my $poss (@possmatrix) {
my $tplanned= plan_search
- ($plan, sub { print " @_\n"; }, $duration, $poss);
- printf " possibility Start=%d %s\n",
+ ($plan, sub { print STDERR " @_\n"; }, $duration, $poss);
+ printf STDERR " possibility Start=%d %s\n",
$tplanned->{Start}, showposs($poss);
if (!$planned || $tplanned->{Start} < $planned->{Start}) {
$planned = $tplanned;
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |