summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-06-27 17:04:56 +0200
committerKay Sievers <kay.sievers@suse.de>2005-06-27 17:04:56 +0200
commitaaff09a30ab849186c0d4ad8bde83876d7a1a63d (patch)
treeb59885517762e7ab7eec197370ab139319e55027 /udevd.c
parent34129109a1f5dca72af2f3f2d3d14a9a0d0c43f6 (diff)
add ID_TYPE to the id probers
Export the type of device from ata_id and scsi_id, also strip leading and trailing whitespace and substitute consecutive whitespace with a single underline char. From: Hannes Reinecke <hare@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevd.c b/udevd.c
index 209b9fcd87..e3ee1457cb 100644
--- a/udevd.c
+++ b/udevd.c
@@ -600,7 +600,7 @@ static struct uevent_msg *get_netlink_msg(void)
if ((size_t)size > sizeof(buffer)-1)
size = sizeof(buffer)-1;
buffer[size] = '\0';
- dbg("uevent_size=%i", size);
+ dbg("uevent_size=%li", (long)size);
/* start of event payload */
bufpos = strlen(buffer)+1;