Fix variable name

I'm pretty sure this should be passing in a user and not a device, which, unless I'm blind, and I may be, is not being defined anywhere.
Merge pull request #1 from cpuguy83/patch-1

Fix variable name