From: matt mooney <mfm@muteddisk.com>
To: Greg Kroah-Hartman <greg@kroah.com>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 4/7] staging: usbip: userspace: usbip_list.c: modify exportable device output
Date: Thu, 7 Jul 2011 00:31:53 -0700 [thread overview]
Message-ID: <7e932c1df825f045f521432ce5ea6927b363977e.1310023068.git.mfm@muteddisk.com> (raw)
In-Reply-To: <cover.1310023068.git.mfm@muteddisk.com>
Change spacing to provide better indentation for readability.
Signed-off-by: matt mooney <mfm@muteddisk.com>
---
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 3edf5d1..6349638 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)
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");
}
--
1.7.6
next prev parent reply other threads:[~2011-07-07 7:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-07 7:31 [PATCH 0/7] staging: usbip: rebased userspace patches matt mooney
2011-07-07 7:31 ` [PATCH 1/7] staging: usbip: userspace: usbipd: major cleanup of daemon matt mooney
2011-07-07 7:31 ` [PATCH 2/7] staging: usbip: userspace: add new prefix for usbip network code matt mooney
2011-07-07 7:31 ` [PATCH 3/7] staging: usbip: userspace: fix header installation bug matt mooney
2011-07-07 7:31 ` matt mooney [this message]
2011-07-07 7:31 ` [PATCH 5/7] staging: usbip: userspace: usbip: modify `list' help message matt mooney
2011-07-07 7:31 ` [PATCH 6/7] staging: usbip: userspace: README: update example output matt mooney
2011-07-07 7:31 ` [PATCH 7/7] staging: usbip: userspace: usbip-utils 1.1.1 matt mooney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e932c1df825f045f521432ce5ea6927b363977e.1310023068.git.mfm@muteddisk.com \
--to=mfm@muteddisk.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®