* [udev] cleanup namedev_parse debug text
@ 2003-12-26 1:52 Kay Sievers
2003-12-30 1:18 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2003-12-26 1:52 UTC (permalink / raw)
To: linux-hotplug
[-- 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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-30 1:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-26 1:52 [udev] cleanup namedev_parse debug text Kay Sievers
2003-12-30 1:18 ` Greg KH
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).