src: fix typo

This commit is contained in:
Santiago Gimeno
2014-09-19 11:03:18 +02:00
parent 00404f4402
commit b9afcfe74b

View File

@@ -47,7 +47,7 @@ module.exports = function() {
readers.push(r);
r.get_status(function(err, state, atr) {
if (err) {
return r.emit('error', e);
return r.emit('error', err);
}
var status = { state : state };