summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/synclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/synclient.c b/tools/synclient.c
index e7be499..9776d23 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -149,7 +149,7 @@ static struct Parameter params[] = {
static double
parse_cmd(char* cmd, struct Parameter** par)
{
- char *eqp = index(cmd, '=');
+ char *eqp = strchr(cmd, '=');
*par = NULL;
if (eqp) {