]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: usbip: userspace: usbip_list.c: modify exportable device output
authormatt mooney <mfm@muteddisk.com>
Thu, 7 Jul 2011 07:31:53 +0000 (00:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:01:16 +0000 (14:01 -0700)
Change spacing to provide better indentation for readability.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/userspace/src/usbip_list.c

index 3edf5d1180ddd46fbf1cf3b143c878ef4725c068..63496386ead7bb7b62d13ca7027ed733dda966b6 100644 (file)
@@ -100,9 +100,9 @@ static int get_exported_devices(char *host, int sockfd)
                usbip_names_get_class(class_name, sizeof(class_name),
                                      udev.bDeviceClass, udev.bDeviceSubClass,
                                      udev.bDeviceProtocol);
-               printf("%8s: %s\n", udev.busid, product_name);
-               printf("%8s: %s\n", "", udev.path);
-               printf("%8s: %s\n", "", class_name);
+               printf("%11s: %s\n", udev.busid, product_name);
+               printf("%11s: %s\n", "", udev.path);
+               printf("%11s: %s\n", "", class_name);
 
                for (j = 0; j < udev.bNumInterfaces; j++) {
                        rc = usbip_net_recv(sockfd, &uintf, sizeof(uintf));
@@ -118,7 +118,7 @@ static int get_exported_devices(char *host, int sockfd)
                                              uintf.bInterfaceClass,
                                              uintf.bInterfaceSubClass,
                                              uintf.bInterfaceProtocol);
-                       printf("%8s: %2d - %s\n", "", j, class_name);
+                       printf("%11s: %2d - %s\n", "", j, class_name);
                }
                printf("\n");
        }