linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] udevinfo: specify which device isn't found in db
@ 2005-08-10 11:22 Thierry Vignaud
  2005-08-10 15:20 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Thierry Vignaud @ 2005-08-10 11:22 UTC (permalink / raw)
  To: linux-hotplug

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

specify which device isn't found in db:

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 24_udev_info.diff --]
[-- Type: text/x-patch, Size: 364 bytes --]

--- ./udevinfo.c.tv2	2005-08-10 03:40:12.000000000 +0200
+++ ./udevinfo.c	2005-08-10 03:40:13.000000000 +0200
@@ -289,7 +289,7 @@
 			}
 			retval = udev_db_get_device(&udev, pos);
 			if (retval != 0) {
-				fprintf(stderr, "device not found in database\n");
+				fprintf(stderr, "device not found in database (%s)\n", pos);
 				goto exit;
 			}
 			goto print;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-10 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10 11:22 [PATCH] udevinfo: specify which device isn't found in db Thierry Vignaud
2005-08-10 15:20 ` Kay Sievers

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).