summaryrefslogtreecommitdiff
path: root/udev_utils.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 /udev_utils.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 'udev_utils.c')
-rw-r--r--udev_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils.c b/udev_utils.c
index 3ab9e43348..073cde1074 100644
--- a/udev_utils.c
+++ b/udev_utils.c
@@ -485,7 +485,7 @@ int execute_program(const char *command, const char *subsystem,
len += count;
if (len >= ressize-1) {
- err("ressize %d too short", ressize);
+ err("ressize %ld too short", (long)ressize);
retval = -1;
break;
}