linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [udev] cleanup namedev_parse debug text
Date: Fri, 26 Dec 2003 01:52:26 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-107240365220999@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 58 bytes --]

I missed a few spaces with my recent change.

thanks,
Kay

[-- Attachment #2: 05-correct-debug-output.diff --]
[-- Type: text/plain, Size: 1354 bytes --]

diff -Nru a/namedev_parse.c b/namedev_parse.c
--- a/namedev_parse.c	Thu Dec 25 23:19:47 2003
+++ b/namedev_parse.c	Thu Dec 25 23:19:47 2003
@@ -294,7 +294,7 @@
 				goto error;
 			break;
 		case NUMBER:
-			dbg_parse(TYPE_NUMBER "name='%s', bus='%s', id='%s', symlink='%s'",
+			dbg_parse(TYPE_NUMBER " name='%s', bus='%s', id='%s', symlink='%s'",
 				  dev.name, dev.bus, dev.id, dev.symlink);
 			if ((*dev.name == '\0') ||
 			    (*dev.bus == '\0') ||
@@ -302,7 +302,7 @@
 				goto error;
 			break;
 		case TOPOLOGY:
-			dbg_parse(TYPE_TOPOLOGY "name='%s', bus='%s', "
+			dbg_parse(TYPE_TOPOLOGY " name='%s', bus='%s', "
 				  "place='%s', symlink='%s'",
 				  dev.name, dev.bus, dev.place, dev.symlink);
 			if ((*dev.name == '\0') ||
@@ -311,14 +311,14 @@
 				goto error;
 			break;
 		case REPLACE:
-			dbg_parse(TYPE_REPLACE "name='%s', kernel_name='%s', symlink='%s'",
+			dbg_parse(TYPE_REPLACE " name='%s', kernel_name='%s', symlink='%s'",
 				  dev.name, dev.kernel_name, dev.symlink);
 			if ((*dev.name == '\0') ||
 			    (*dev.kernel_name == '\0'))
 				goto error;
 			break;
 		case CALLOUT:
-			dbg_parse(TYPE_CALLOUT "name='%s', bus='%s', program='%s', "
+			dbg_parse(TYPE_CALLOUT " name='%s', bus='%s', program='%s', "
 				  "id='%s', symlink='%s'",
 				  dev.name, dev.bus, dev.exec_program,
 				  dev.id, dev.symlink);

             reply	other threads:[~2003-12-26  1:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-26  1:52 Kay Sievers [this message]
2003-12-30  1:18 ` [udev] cleanup namedev_parse debug text Greg KH

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=marc-linux-hotplug-107240365220999@msgid-missing \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).