diff mbox

[ovs-dev,2/4] ovn-sbctl: Indentation fixes.

Message ID 1442029598-6778-3-git-send-email-blp@nicira.com
State Accepted
Headers show

Commit Message

Ben Pfaff Sept. 12, 2015, 3:46 a.m. UTC
Signed-off-by: Ben Pfaff <blp@nicira.com>
---
 ovn/utilities/ovn-sbctl.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Comments

Andy Zhou Sept. 18, 2015, 9:34 p.m. UTC | #1
Acked-by: Andy Zhou <azhou@nicira.com>

On Fri, Sep 11, 2015 at 8:46 PM, Ben Pfaff <blp@nicira.com> wrote:
> Signed-off-by: Ben Pfaff <blp@nicira.com>
> ---
>  ovn/utilities/ovn-sbctl.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c
> index 437a74b..1d43504 100644
> --- a/ovn/utilities/ovn-sbctl.c
> +++ b/ovn/utilities/ovn-sbctl.c
> @@ -249,8 +249,7 @@ parse_options(int argc, char *argv[], struct shash *local_options)
>          case 't':
>              timeout = strtoul(optarg, NULL, 10);
>              if (timeout < 0) {
> -                ctl_fatal("value %s on -t or --timeout is invalid",
> -                            optarg);
> +                ctl_fatal("value %s on -t or --timeout is invalid", optarg);
>              }
>              break;
>
> @@ -836,8 +835,8 @@ do_sbctl(const char *args, struct ctl_command *commands, size_t n_commands,
>          struct ovsdb_symbol *symbol = node->data;
>          if (!symbol->created) {
>              ctl_fatal("row id \"%s\" is referenced but never created (e.g. "
> -                        "with \"-- --id=%s create ...\")",
> -                        node->name, node->name);
> +                      "with \"-- --id=%s create ...\")",
> +                      node->name, node->name);
>          }
>          if (!symbol->strong_ref) {
>              if (!symbol->weak_ref) {
> --
> 2.1.3
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
diff mbox

Patch

diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c
index 437a74b..1d43504 100644
--- a/ovn/utilities/ovn-sbctl.c
+++ b/ovn/utilities/ovn-sbctl.c
@@ -249,8 +249,7 @@  parse_options(int argc, char *argv[], struct shash *local_options)
         case 't':
             timeout = strtoul(optarg, NULL, 10);
             if (timeout < 0) {
-                ctl_fatal("value %s on -t or --timeout is invalid",
-                            optarg);
+                ctl_fatal("value %s on -t or --timeout is invalid", optarg);
             }
             break;
 
@@ -836,8 +835,8 @@  do_sbctl(const char *args, struct ctl_command *commands, size_t n_commands,
         struct ovsdb_symbol *symbol = node->data;
         if (!symbol->created) {
             ctl_fatal("row id \"%s\" is referenced but never created (e.g. "
-                        "with \"-- --id=%s create ...\")",
-                        node->name, node->name);
+                      "with \"-- --id=%s create ...\")",
+                      node->name, node->name);
         }
         if (!symbol->strong_ref) {
             if (!symbol->weak_ref) {