{"action":"closed","issue":{"url":"https://api.github.com/repos/jfrabaute/libtrace/issues/1","labels_url":"https://api.github.com/repos/jfrabaute/libtrace/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jfrabaute/libtrace/issues/1/comments","events_url":"https://api.github.com/repos/jfrabaute/libtrace/issues/1/events","html_url":"https://github.com/jfrabaute/libtrace/issues/1","id":55220496,"number":1,"title":"README typo","user":{"login":"logrusorgru","id":4060258,"avatar_url":"https://avatars.githubusercontent.com/u/4060258?v=3","gravatar_id":"","url":"https://api.github.com/users/logrusorgru","html_url":"https://github.com/logrusorgru","followers_url":"https://api.github.com/users/logrusorgru/followers","following_url":"https://api.github.com/users/logrusorgru/following{/other_user}","gists_url":"https://api.github.com/users/logrusorgru/gists{/gist_id}","starred_url":"https://api.github.com/users/logrusorgru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logrusorgru/subscriptions","organizations_url":"https://api.github.com/users/logrusorgru/orgs","repos_url":"https://api.github.com/users/logrusorgru/repos","events_url":"https://api.github.com/users/logrusorgru/events{/privacy}","received_events_url":"https://api.github.com/users/logrusorgru/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-22T22:48:19Z","updated_at":"2015-01-26T08:00:12Z","closed_at":"2015-01-26T08:00:12Z","body":"Section: **Monitoring only \"open\" syscall**\r\n```go\r\ntracer.RegisterCbOnExit(func(trace *libtrace.Trace, \"open\") { // <------this\r\n    log.Printf(\"open: %d %s\\n\", trace.Return.Code, trace.Return.Description)\r\n})\r\n```\r\n\r\nShould be\r\n```go\r\ntracer.RegisterCbOnExit(func(trace *libtrace.Trace) {\r\n    log.Printf(\"open: %d %s\\n\", trace.Return.Code, trace.Return.Description)\r\n}, \"open\") // <----------------------------------------------------------here\r\n```\r\nThanks for the library =)"}}