]> Git Repo - qemu.git/blobdiff - qemu-option.c
PPC: Enable 440EP CPU target
[qemu.git] / qemu-option.c
index f97a758a9561397b59641a3bb519ed8f73db4002..a303f87e1cc8ef481dd8a9f01b92a8e15d0e51af 100644 (file)
@@ -214,13 +214,17 @@ static int parse_option_size(const char *name, const char *value, uint64_t *ret)
         switch (*postfix) {
         case 'T':
             sizef *= 1024;
+            /* fall through */
         case 'G':
             sizef *= 1024;
+            /* fall through */
         case 'M':
             sizef *= 1024;
+            /* fall through */
         case 'K':
         case 'k':
             sizef *= 1024;
+            /* fall through */
         case 'b':
         case '\0':
             *ret = (uint64_t) sizef;
@@ -480,7 +484,7 @@ void print_option_parameters(QEMUOptionParameter *list)
                 printf("%s=%" PRId64 " ", list->name, list->value.n);
                 break;
             default:
-                printf("%s=(unkown type) ", list->name);
+                printf("%s=(unknown type) ", list->name);
                 break;
         }
         list++;
This page took 0.024031 seconds and 4 git commands to generate.