OSDN Git Service

vl.c: Small coding style fix
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 26 Sep 2014 20:45:16 +0000 (17:45 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 4 Oct 2014 06:59:14 +0000 (08:59 +0200)
Just to make checkpatch.pl happy when moving the code.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
vl.c

diff --git a/vl.c b/vl.c
index 9d2aaaf..72436cd 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -2712,7 +2712,7 @@ static int configure_accelerator(MachineClass *mc)
         if (*p == ':') {
             p++;
         }
-        p = get_opt_name(buf, sizeof (buf), p, ':');
+        p = get_opt_name(buf, sizeof(buf), p, ':');
         for (i = 0; i < ARRAY_SIZE(accel_list); i++) {
             if (strcmp(accel_list[i].opt_name, buf) == 0) {
                 if (!accel_list[i].available()) {