File "top.ml", line 423, characters 14-31:
423 | Failure "float_of_string" ->
^^^^^^^^^^^^^^^^^
Warning 52: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 9.5)
delay := int_of_float (newdelay *. 1000.); false
)
with
- Failure "float_of_string" ->
+ Failure _ ->
print_msg (s_"Not a valid number"); true in
refresh ();
sleep (if error then 2 else 1)