mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0148-Whitespace-changes-arising-from-the-previous-two-com.patch

ffd6ed
From f5f0b5fb8dfe74e5821beae97be271e002910463 Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Sat, 14 Feb 2015 16:35:25 +0000
ffd6ed
Subject: [PATCH] Whitespace changes arising from the previous two commits.
ffd6ed
ffd6ed
(cherry picked from commit 0f029a5f5831df518c317fca3ec78fedc37f4a74)
ffd6ed
---
ffd6ed
 generator/c.ml | 10 +++++-----
ffd6ed
 1 file changed, 5 insertions(+), 5 deletions(-)
ffd6ed
ffd6ed
diff --git a/generator/c.ml b/generator/c.ml
ffd6ed
index 966e28a..520ac05 100644
ffd6ed
--- a/generator/c.ml
ffd6ed
+++ b/generator/c.ml
ffd6ed
@@ -1537,7 +1537,7 @@ and generate_client_actions hash () =
ffd6ed
     pr "%sif (trace_flag)\n" indent;
ffd6ed
 
ffd6ed
     pr "%s  guestfs_int_trace (g, \"%%s = %%s (error)\",\n" indent;
ffd6ed
-    pr "%s                   \"%s\", \"%s\");\n"
ffd6ed
+    pr "%s                     \"%s\", \"%s\");\n"
ffd6ed
       indent name (string_of_errcode errcode)
ffd6ed
   in
ffd6ed
 
ffd6ed
@@ -1730,7 +1730,7 @@ and generate_client_actions hash () =
ffd6ed
     if args_passed_to_daemon = [] && optargs = [] then (
ffd6ed
       pr "  serial = guestfs_int_send (g, GUESTFS_PROC_%s, progress_hint, 0,\n"
ffd6ed
         (String.uppercase name);
ffd6ed
-      pr "                           NULL, NULL);\n"
ffd6ed
+      pr "                             NULL, NULL);\n"
ffd6ed
     ) else (
ffd6ed
       List.iter (
ffd6ed
         function
ffd6ed
@@ -1792,9 +1792,9 @@ and generate_client_actions hash () =
ffd6ed
 
ffd6ed
       pr "  serial = guestfs_int_send (g, GUESTFS_PROC_%s,\n"
ffd6ed
         (String.uppercase name);
ffd6ed
-      pr "                           progress_hint, %s,\n"
ffd6ed
+      pr "                             progress_hint, %s,\n"
ffd6ed
         (if optargs <> [] then "optargs->bitmask" else "0");
ffd6ed
-      pr "                           (xdrproc_t) xdr_guestfs_%s_args, (char *) &args);\n"
ffd6ed
+      pr "                             (xdrproc_t) xdr_guestfs_%s_args, (char *) &args);\n"
ffd6ed
         name;
ffd6ed
     );
ffd6ed
     pr "  if (serial == -1) {\n";
ffd6ed
@@ -1860,7 +1860,7 @@ and generate_client_actions hash () =
ffd6ed
     pr "    else\n";
ffd6ed
     pr "      guestfs_int_error_errno (g, errnum, \"%%s: %%s\", \"%s\",\n"
ffd6ed
       name;
ffd6ed
-    pr "                           err.error_message);\n";
ffd6ed
+    pr "                               err.error_message);\n";
ffd6ed
     pr "    free (err.error_message);\n";
ffd6ed
     pr "    free (err.errno_string);\n";
ffd6ed
     pr "    return %s;\n" (string_of_errcode errcode);
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed