Fix ordering of csv_mode and stream_mode in tuple.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 12 Aug 2011 10:54:41 +0000 (11:54 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 12 Aug 2011 10:55:48 +0000 (11:55 +0100)
Note that this bug could have been avoided by using a struct instead
of a tuple here.

This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.

virt-top/virt_top_main.ml

index 44dbf93..bd9b575 100644 (file)
@@ -31,7 +31,7 @@ open Virt_top
  * the program under --debug ...).
  *)
 let error =
  * the program under --debug ...).
  *)
 let error =
-  let ((_, _, script_mode, stream_mode, _, _, _, _) as setup) = start_up () in
+  let ((_, _, script_mode, _, stream_mode, _, _, _) as setup) = start_up () in
 
   try
     Printexc.record_backtrace true;
 
   try
     Printexc.record_backtrace true;