OSDN Git Service

vnc: fix option misspelling ("non-adapative" -> "non-adaptive")
authorCatalin Patulea <catalinp@google.com>
Sat, 10 Nov 2012 00:01:26 +0000 (19:01 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 26 Nov 2012 14:16:38 +0000 (08:16 -0600)
Signed-off-by: Catalin Patulea <catalinp@google.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc.c

index 61f120e..ba30362 100644 (file)
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -2945,7 +2945,7 @@ void vnc_display_open(DisplayState *ds, const char *display, Error **errp)
 #endif
         } else if (strncmp(options, "lossy", 5) == 0) {
             vs->lossy = true;
-        } else if (strncmp(options, "non-adapative", 13) == 0) {
+        } else if (strncmp(options, "non-adaptive", 12) == 0) {
             vs->non_adaptive = true;
         } else if (strncmp(options, "share=", 6) == 0) {
             if (strncmp(options+6, "ignore", 6) == 0) {