diff options
author | Terry Lambert <tlambert@chromium.org> | 2011-07-15 17:23:20 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-18 11:49:27 +1000 |
commit | 38bcc4322a378affb5ca142ff39df81908e990eb (patch) | |
tree | 6966da4e215c7ee3cfc062c9134524a3f7c9b8e9 | |
parent | 55f337f61fdcb2d7ec77ec42d1b8b700d467196e (diff) |
Return proper default for unknown values in pInfo->device_control.
Signed-off-by: Terry Lambert <tlambert@chromium.org>
Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86Elo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c index e779642..b63d351 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -850,7 +850,7 @@ xf86EloControl(DeviceIntPtr dev, default: ErrorF("unsupported mode=%d\n", mode); - return !Success; + return BadValue; } } |