Permalink
Browse files

bug fix: spelling error

  • Loading branch information...
1 parent 6e92de0 commit 0f5b661990aafb9e36997dd69eb66067a0dc34f0 @falood falood committed Dec 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dynamo/connection/utils.ex
@@ -49,7 +49,7 @@ defmodule Dynamo.Connection.Utils do
{ mega, sec, mili } = :erlang.now()
name = Path.join(tmp_dir, "#{prefix}-#{mega}-#{sec}-#{mili}")
case :file.open(name, [:write, :exclusive, :binary]) do
- { :error, :eaccess } -> random_file(prefix, tmp_dir, callback, attempts + 1)
+ { :error, :eacces } -> random_file(prefix, tmp_dir, callback, attempts + 1)
{ :ok, file } ->
result = try do
callback.(file)

0 comments on commit 0f5b661

Please sign in to comment.