summaryrefslogtreecommitdiff
path: root/touch_apis.c
diff options
context:
space:
mode:
authorWendly Li <wendlyli@google.com>2022-02-18 07:10:21 +0000
committerWendly Li <wendlyli@google.com>2022-02-18 07:10:25 +0000
commit1437c5883fe85a5e543371f37d376c5a2c3f7ab7 (patch)
tree0fd8e0ebbaaec165724e6fd08185bfafa01aed48 /touch_apis.c
parent63fc9fdc7304876880a6d159b36a0ae76060caa2 (diff)
downloadgoodix_touch-1437c5883fe85a5e543371f37d376c5a2c3f7ab7.tar.gz
Fix wrong result
Bug: 216386146 Test: Check the message is correct Change-Id: Ib763b9db0958041d9179c09ed365f0fe3bfdce8c Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'touch_apis.c')
-rw-r--r--touch_apis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/touch_apis.c b/touch_apis.c
index dad696a..96e6fac 100644
--- a/touch_apis.c
+++ b/touch_apis.c
@@ -64,7 +64,7 @@ static ssize_t irq_enabled_show(
ret = snprintf(buf, PAGE_SIZE, "error: %d\n", ret);
} else {
ret = snprintf(buf, PAGE_SIZE, "result: %s\n",
- ret ? "enabled" : "disable");
+ ret ? "enabled" : "disabled");
}
} else {
ret = snprintf(buf, PAGE_SIZE, "error: not support\n");