diff options
author | Richard Jones <rjones@redhat.com> | 2010-09-10 22:57:10 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-09-10 22:57:48 +0100 |
commit | b4a3aec60ed4775f8ca2eb079e389af3a1769069 (patch) | |
tree | a31f45f527f590c9f4f8cd25aa2f7ccb89455bb1 /src | |
parent | 3d994f3d8e12356223d37c1b45ebe2eb39ef28a6 (diff) | |
download | libguestfs-b4a3aec60ed4775f8ca2eb079e389af3a1769069.tar.gz libguestfs-b4a3aec60ed4775f8ca2eb079e389af3a1769069.tar.xz libguestfs-b4a3aec60ed4775f8ca2eb079e389af3a1769069.zip |
syntax: Use spaces instead of tabs for indentation.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 6 | ||||
-rw-r--r-- | src/launch.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/generator.ml b/src/generator.ml index da01f12e..0b3f263a 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 287cc402..eaf39742 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) { |