v4l2-compliance: Not Supported -> OK (Not Supported)
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Sep 2012 14:36:54 +0000 (16:36 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Sep 2012 14:36:54 +0000 (16:36 +0200)
The 'Not Supported' result was confusing: this is not an error, it
just says that the tested API is not implemented in the driver, and that's
OK since that API is optional.

Renaming this to 'OK (Not Supported)' should clarify this result.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l2-compliance.cpp

index c38091a..db5b3f8 100644 (file)
@@ -202,7 +202,7 @@ const char *ok(int res)
        static char buf[100];
 
        if (res == ENOTTY) {
-               strcpy(buf, "Not Supported");
+               strcpy(buf, "OK (Not Supported)");
                res = 0;
        } else {
                strcpy(buf, "OK");