diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-06-27 17:04:56 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-06-27 17:04:56 +0200 |
commit | aaff09a30ab849186c0d4ad8bde83876d7a1a63d (patch) | |
tree | b59885517762e7ab7eec197370ab139319e55027 /udevd.c | |
parent | 34129109a1f5dca72af2f3f2d3d14a9a0d0c43f6 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |