[PATCH] xf86-input-aiptek: Return proper default for unknown values in pInfo->device_control.
Terry Lambert
tlambert at chromium.org
Fri Jul 15 17:23:19 PDT 2011
Signed-off-by: Terry Lambert <tlambert at chromium.org>
Reviewed-by: Stephane Marchesin <marcheu at chromium.org>
---
src/xf86Aiptek.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index a68814f..9195fb8 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -1507,7 +1507,7 @@ xf86AiptekProc(DeviceIntPtr pAiptek, int requestCode)
default:
{
xf86Msg(X_ERROR, "xf86AiptekProc - Unsupported mode=%d\n", requestCode);
- return !Success;
+ return BadValue;
}
break;
}
--
1.7.3.1
More information about the xorg-devel
mailing list