From b4a3aec60ed4775f8ca2eb079e389af3a1769069 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 10 Sep 2010 22:57:10 +0100 Subject: [PATCH] syntax: Use spaces instead of tabs for indentation. --- src/generator.ml | 6 +++--- src/launch.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 1.8.3.1