From 5d3ed8c0c600a7c88564cb50f243763d648d75aa Mon Sep 17 00:00:00 2001 From: Josh Nussbaum Date: Fri, 2 Dec 2016 09:55:42 -0500 Subject: [PATCH] Fix warning about :random module --- examples/basic.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))