Error in return type - should have been bool (how did this ever compile???)
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 1 May 2008 19:32:59 +0000 (20:32 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 1 May 2008 19:32:59 +0000 (20:32 +0100)
diskzip/diskzip.ml

index 7e2969a..75fffc6 100644 (file)
@@ -39,10 +39,11 @@ let rec main () =
     match name with
     | "diskzcat" -> false
     | "diskzip" -> true
-    | name ->
+    | _ ->
        eprintf
          (f_"diskzip: unknown executable name '%s', assuming 'diskzip'\n")
-         name in
+         name;
+       true in
   let compressing = ref compressing in
 
   (* Command line argument parsing. *)