brcompatd: Fix formatting of /proc/net/vlan files.
authorBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 21:00:06 +0000 (14:00 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 21:00:06 +0000 (14:00 -0700)
The C source file that I copped this from originally didn't spell out the
tab as \t, thus it was very difficult to see.

Thanks for Justin for pointing this out.

vswitchd/proc-net-compat.c

index a4f0f226ee658488af498f09c323b312a8bdc633..9b56478529e315ac046452780fbe732ec34df631 100644 (file)
@@ -308,7 +308,7 @@ set_vlan_proc_file(const struct compat_vlan *vlan)
     ds_init(&ds);
     ds_put_format(
         &ds,
-        "%s  VID: %d     REORDER_HDR: 1  dev->priv_flags: 81\n"
+        "%s  VID: %d\t REORDER_HDR: 1  dev->priv_flags: 81\n"
         "         total frames received            0\n"
         "          total bytes received            0\n"
         "      Broadcast/Multicast Rcvd            0\n"