Fix typo in media-api
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Wed, 11 May 2016 11:31:28 +0000 (13:31 +0200)
committerManuel Bachmann <manuel.bachmann@iot.bzh>
Wed, 11 May 2016 11:31:28 +0000 (13:31 +0200)
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
plugins/media/media-api.c

index 3351ab3..460894b 100644 (file)
@@ -94,7 +94,7 @@ static void selecting (struct afb_req request) {   /* AFB_SESSION_CHECK */
 
     /* "?value=" parameter is negative */
     else if (atoi(value) < 0) {
-        afb_req_fail (request, "failed", "chosen index cannot be negatuve");
+        afb_req_fail (request, "failed", "chosen index cannot be negative");
         return;
     }