Permalink
Browse files

Merge pull request #166 from falood/master

bug fix: spelling error
  • Loading branch information...
2 parents 6e92de0 + 0f5b661 commit 605643e2758f9445cc332ac1ad5af1e1797ed57e @devinus 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 605643e

Please sign in to comment.