diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-19 12:37:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-22 09:59:37 +1000 |
commit | a7de9daa67afbf0c721e681809be2fbe519d26c8 (patch) | |
tree | bc4ed111ac8a8b1ca4cda8d298021079df9470c2 | |
parent | c95c1f2c2d449f78eae109b927db85db05ab9a6f (diff) |
Fix indentation in usbStart()
No functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/wcmUSB.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/wcmUSB.c b/src/wcmUSB.c index ee62dde..62a6d83 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -138,16 +138,16 @@ usbStart(InputInfoPtr pInfo) int err; if (xf86CheckBoolOption(pInfo->options, "GrabDevice", 0)) - { - /* Try to grab the event device so that data don't leak to /dev/input/mice */ - SYSCALL(err = ioctl(pInfo->fd, EVIOCGRAB, (pointer)1)); - - /* this is called for all tools, so all but the first one fails with - * EBUSY */ - if (err < 0 && errno != EBUSY) - xf86Msg(X_ERROR, "%s: Wacom X driver can't grab event device (%s)\n", + { + /* Try to grab the event device so that data don't leak to /dev/input/mice */ + SYSCALL(err = ioctl(pInfo->fd, EVIOCGRAB, (pointer)1)); + + /* this is called for all tools, so all but the first one fails with + * EBUSY */ + if (err < 0 && errno != EBUSY) + xf86Msg(X_ERROR, "%s: Wacom X driver can't grab event device (%s)\n", pInfo->name, strerror(errno)); - } + } return Success; } |