summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rild/rild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rild/rild.c b/rild/rild.c
index 1407e12..65be7e0 100644
--- a/rild/rild.c
+++ b/rild/rild.c
@@ -154,7 +154,7 @@ int main(int argc, char **argv)
#ifdef QCOM_HARDWARE
if (clientId == NULL) {
clientId = "0";
- } else if (atoi(clientId) >= MAX_RILDS) {
+ } else if (atoi(clientId) > MAX_RILDS) {
RLOGE("Max Number of rild's supported is: %d", MAX_RILDS);
exit(0);
}