rconn: Remove superfluous \n from log message.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Jun 2010 21:59:43 +0000 (14:59 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 24 Jun 2010 19:40:19 +0000 (12:40 -0700)
The vlog library suppresses a trailing \n but that's no reason to supply
one.

lib/rconn.c

index e7685bb61426d864cf17e77b60e3dcdd15eac047..b833e651aa50cbfc95327930e61b4501fb3e8fdf 100644 (file)
@@ -971,7 +971,7 @@ disconnect(struct rconn *rc, int error)
             rc->backoff = 1;
         } else {
             rc->backoff = MIN(rc->max_backoff, MAX(1, 2 * rc->backoff));
-            VLOG_INFO("%s: waiting %d seconds before reconnect\n",
+            VLOG_INFO("%s: waiting %d seconds before reconnect",
                       rc->name, rc->backoff);
         }
         rc->backoff_deadline = now + rc->backoff;