diff options
author | matt mooney <mfm@muteddisk.com> | 2011-07-07 03:31:53 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-08 17:01:16 -0400 |
commit | fcedd169be21564280f83ef486e403fa34f61a39 (patch) | |
tree | 4dba70aa7716ba414c622fab20a94affd674d9fa | |
parent | dffb9649d392b7fa7971c5fa54a4154cec264809 (diff) |
staging: usbip: userspace: usbip_list.c: modify exportable device output
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>
-rw-r--r-- | drivers/staging/usbip/userspace/src/usbip_list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/usbip/userspace/src/usbip_list.c b/drivers/staging/usbip/userspace/src/usbip_list.c index 3edf5d1180dd..63496386ead7 100644 --- a/drivers/staging/usbip/userspace/src/usbip_list.c +++ b/drivers/staging/usbip/userspace/src/usbip_list.c | |||
@@ -100,9 +100,9 @@ static int get_exported_devices(char *host, int sockfd) | |||
100 | usbip_names_get_class(class_name, sizeof(class_name), | 100 | usbip_names_get_class(class_name, sizeof(class_name), |
101 | udev.bDeviceClass, udev.bDeviceSubClass, | 101 | udev.bDeviceClass, udev.bDeviceSubClass, |
102 | udev.bDeviceProtocol); | 102 | udev.bDeviceProtocol); |
103 | printf("%8s: %s\n", udev.busid, product_name); | 103 | printf("%11s: %s\n", udev.busid, product_name); |
104 | printf("%8s: %s\n", "", udev.path); | 104 | printf("%11s: %s\n", "", udev.path); |
105 | printf("%8s: %s\n", "", class_name); | 105 | printf("%11s: %s\n", "", class_name); |
106 | 106 | ||
107 | for (j = 0; j < udev.bNumInterfaces; j++) { | 107 | for (j = 0; j < udev.bNumInterfaces; j++) { |
108 | rc = usbip_net_recv(sockfd, &uintf, sizeof(uintf)); | 108 | rc = usbip_net_recv(sockfd, &uintf, sizeof(uintf)); |
@@ -118,7 +118,7 @@ static int get_exported_devices(char *host, int sockfd) | |||
118 | uintf.bInterfaceClass, | 118 | uintf.bInterfaceClass, |
119 | uintf.bInterfaceSubClass, | 119 | uintf.bInterfaceSubClass, |
120 | uintf.bInterfaceProtocol); | 120 | uintf.bInterfaceProtocol); |
121 | printf("%8s: %2d - %s\n", "", j, class_name); | 121 | printf("%11s: %2d - %s\n", "", j, class_name); |
122 | } | 122 | } |
123 | printf("\n"); | 123 | printf("\n"); |
124 | } | 124 | } |