| Submitter | Eduardo Habkost |
|---|---|
| Date | Feb. 4, 2013, 6:27 p.m. |
| Message ID | <1360002472-17628-3-git-send-email-ehabkost@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/218040/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/vl.c b/vl.c index 3155989..0dae44c 100644 --- a/vl.c +++ b/vl.c @@ -1253,7 +1253,10 @@ static void numa_add(const char *optarg) value = endvalue = 0ULL; - optarg = get_opt_name(option, 128, optarg, ',') + 1; + optarg = get_opt_name(option, 128, optarg, ','); + if (*optarg == ',') { + optarg++; + } if (!strcmp(option, "node")) { if (get_param_value(option, 128, "nodeid", optarg) == 0) { nodenr = nb_numa_nodes;