*
* Use 'copy_host --help' for usage.
*
- * $Id: copy_host.ml,v 1.4 2006/12/11 15:28:50 rich Exp $
+ * $Id: copy_host.ml,v 1.5 2006/12/11 15:34:36 rich Exp $
*)
open Printf
if dhost_exists then (
if overwrite then (
(* Rename the destination host. *)
- let name = sprintf "deleted-%g" (Unix.time ()) in
+ let name = sprintf "deleted-%.0f" (Unix.time ()) in
printf "Renaming old host %s to %s\n%!" dcanonical_hostname name;