Skip to content

Commit

Permalink
core: fix typo in os:timestamp() call.
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Aug 19, 2015
1 parent b239ad5 commit 684ad14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/support/z.erl
Expand Up @@ -189,7 +189,7 @@ log(Type, Props, Context) when is_atom(Type), is_list(Props) ->
#zlog{
type=Type,
user_id=z_acl:user(Context),
timestamp=os:timstamp(),
timestamp=os:timestamp(),
props=Props
},
Context).
Expand All @@ -208,7 +208,7 @@ log(Type, Msg, Props, Context) ->
#zlog{
type=Type,
user_id=z_acl:user(Context),
timestamp=os:timstamp(),
timestamp=os:timestamp(),
props=#log_message{type=Type, message=Msg1, props=Props, user_id=z_acl:user(Context)}
},
Context).
Expand Down

0 comments on commit 684ad14

Please sign in to comment.