aboutsummaryrefslogtreecommitdiff
path: root/marsond.c
diff options
context:
space:
mode:
Diffstat (limited to 'marsond.c')
-rw-r--r--marsond.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/marsond.c b/marsond.c
index 00ac139..e74128e 100644
--- a/marsond.c
+++ b/marsond.c
@@ -270,6 +270,8 @@ int main(int argc, char **argv) {
die("write to /dev/uinput failed: %s", strerror(errno));
}
+ /* I was hoping the return value of this ioctl would be the
+ device number, but it's just 0 for no error. */
if(ioctl(outfd, UI_DEV_CREATE) >= 0) {
debug("created virtual keyboard device");
} else {