diff --git a/examples/basic.exs b/examples/basic.exs index a1accdf..656e0c7 100644 --- a/examples/basic.exs +++ b/examples/basic.exs @@ -6,4 +6,4 @@ defmodule MyLib do end MyLib.puts("Hello World from C stdlib") -MyLib.printf("Random number: %d\n", :random.uniform(10)) +MyLib.printf("Random number: %d\n", :rand.uniform(10))