From: Richard Jones Date: Fri, 10 Sep 2010 21:57:10 +0000 (+0100) Subject: syntax: Use spaces instead of tabs for indentation. X-Git-Tag: 1.5.12~15 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b4a3aec60ed4775f8ca2eb079e389af3a1769069;p=libguestfs.git syntax: Use spaces instead of tabs for indentation. --- diff --git a/src/generator.ml b/src/generator.ml index da01f12..0b3f263 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -12679,12 +12679,12 @@ print_strings (char *const *argv) | FileOut n | Key n -> pr " printf (\"%%s\\n\", %s);\n" n | BufferIn n -> - pr " {\n"; - pr " size_t i;\n"; + pr " {\n"; + pr " size_t i;\n"; pr " for (i = 0; i < %s_size; ++i)\n" n; pr " printf (\"<%%02x>\", %s[i]);\n" n; pr " printf (\"\\n\");\n"; - pr " }\n"; + pr " }\n"; | OptString n -> pr " printf (\"%%s\\n\", %s ? %s : \"null\");\n" n n | StringList n | DeviceList n -> pr " print_strings (%s);\n" n | Bool n -> pr " printf (\"%%s\\n\", %s ? \"true\" : \"false\");\n" n diff --git a/src/launch.c b/src/launch.c index 287cc40..eaf3974 100644 --- a/src/launch.c +++ b/src/launch.c @@ -764,7 +764,7 @@ test_qemu (guestfs_h *g) goto error; snprintf (cmd, sizeof cmd, "LC_ALL=C '%s' -nographic -version 2>/dev/null", - g->qemu); + g->qemu); fp = popen (cmd, "r"); if (fp) {