Do not segfault when no device is present
authorAndrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Sun, 21 Dec 2014 11:26:57 +0000 (14:26 +0300)
committerAndrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Sun, 21 Dec 2014 11:26:57 +0000 (14:26 +0300)
Fixes #1

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>

No differences found